aboutsummaryrefslogtreecommitdiff
path: root/databases/percona55-server/files/patch-ab
blob: f939b2e2cbe62d2206e0b17c3647da01da64682a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
--- scripts/mysql_install_db.sh.orig	Tue Feb 17 13:18:22 1998
+++ scripts/mysql_install_db.sh	Thu Mar  5 11:16:28 1998
@@ -3,24 +3,12 @@
 # For a more info consult the file COPYRIGHT distributed with this file
 
 # This scripts creates the privilige tables db, host, user in mysql
-# It should be run from the top level installation directory
 #
 # All arguments to this script is passed to safe_mysqld
 
 if test ! -x @bindir@/mysqladmin
 then
   echo "Can't execute @bindir@/mysqladmin"
-  if test "@localstatedir@" = "./data"
-  then
-    echo "You should be in the distribution directory when executing this script"
-  else
-    echo "You should do a 'make install' before executing this script"
-  fi
-  exit 1
-fi
-if test ! -d "./data"
-then
-  echo "You should be in the distribution directory when executing this script"
   exit 1
 fi
 
@@ -78,10 +66,7 @@
 
 # copy the definition files
 #
-if test "@localstatedir@" != "./data"
-then
-  cp -p ./data/mysql/*.frm @localstatedir@/mysql
-fi
+cp @pkgdatadir@/mysql/*.frm @localstatedir@/mysql
 
 @bindir@/mysql mysql <<END_OF_DATA
 # Create tables from the .frm files
@@ -122,11 +107,7 @@
   echo
   echo "PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !"
   echo
-  echo "You can test the MySQL demon with the benchmarks in the 'bench'"
-  echo "directory:"
-  echo "cd bench ; run-all-tests"
-  echo
-  echo "You can also try the mysql command line tool with:"
+  echo "You can test the MySQL daemon with the mysql command line tool:"
   echo "@bindir@/mysql test"
   echo
   echo "Plese report any problems with the @scriptdir@/mysqlbug script!"