SOURCES (MYSQL_5_0): mysql.init - /usr/bin is default path
glen
glen at pld-linux.org
Mon Jul 2 22:59:31 CEST 2007
Author: glen Date: Mon Jul 2 20:59:31 2007 GMT
Module: SOURCES Tag: MYSQL_5_0
---- Log message:
- /usr/bin is default path
---- Files affected:
SOURCES:
mysql.init (1.105.4.1.2.4 -> 1.105.4.1.2.5)
---- Diffs:
================================================================
Index: SOURCES/mysql.init
diff -u SOURCES/mysql.init:1.105.4.1.2.4 SOURCES/mysql.init:1.105.4.1.2.5
--- SOURCES/mysql.init:1.105.4.1.2.4 Mon Jul 2 22:57:24 2007
+++ SOURCES/mysql.init Mon Jul 2 22:59:25 2007
@@ -811,15 +811,15 @@
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL USERS!
This is done (after starting database; press enter when asked for password) with:
-/usr/bin/mysqladmin -u mysql -S $MYSQL_SOCKET password 'password'
-/usr/bin/mysqladmin -h $hostname -u mysql -S $MYSQL_SOCKET password 'password'
-/usr/bin/mysqladmin -u mysql_logrotate -S $MYSQL_SOCKET password 'password'
+mysqladmin -u mysql -S $MYSQL_SOCKET password 'password'
+mysqladmin -h $hostname -u mysql -S $MYSQL_SOCKET password 'password'
+mysqladmin -u mysql_logrotate -S $MYSQL_SOCKET password 'password'
NOTE: mysql_logrotate password should be placed to $MYSQL_CONFIG in
mysqladmin section. See the manual for more instructions.
If you want to use new help tables in MySQL 4.1.x then you'll need to import the help data:
-/usr/bin/mysql -u mysql -p -S $MYSQL_SOCKET mysql < /usr/share/mysql/fill_help_tables.sql
+mysql -u mysql -p -S $MYSQL_SOCKET mysql < /usr/share/mysql/fill_help_tables.sql
END_OF_MSG
else
@@ -832,10 +832,10 @@
/usr/sbin/mysqld --skip-grant &
-You can use the command line tool /usr/bin/mysql to connect to the mysql
+You can use the command line tool mysql to connect to the mysql
database and look at the grant tables:
-shell> /usr/bin/mysql -u mysql mysql
+shell> mysql -u mysql mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Setting on
@@ -849,7 +849,7 @@
mysql_install_db', and the manual section that describes problems on
your OS. Another information source is the MySQL email archive.
Please check all of the above before mailing us! And if you do mail
-us, you MUST use the /usr/bin/mysqlbug script!
+us, you MUST use the mysqlbug script!
END_OF_MSG
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mysql.init?r1=1.105.4.1.2.4&r2=1.105.4.1.2.5&f=u
More information about the pld-cvs-commit
mailing list