- 论坛徽章:
- 0
|
回复 1楼 sunnycn 的帖子
执行如下命令时,出现的问题,不知道是什么原因找不到mysql_install_db:my_print_defaults呢?\r\n# ./mysql_install_db --user=mysql\r\n./mysql_install_db: my_print_defaults: 没找到\r\nInstalling all prepared tables\r\nFill help tables\r\n\r\nTo start mysqld at boot time you have to copy support-files/mysql.server\r\nto the right place for your system\r\n\r\nPLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !\r\nTo do so, start the server, then issue the following commands:\r\n/opt/mysql/mysql/bin/mysqladmin -u root password \'new-password\'\r\n/opt/mysql/mysql/bin/mysqladmin -u root -h dtsfw password \'new-password\'\r\nSee the manual for more instructions.\r\n\r\nNOTE: If you are upgrading from a MySQL <= 3.22.10 you should run\r\nthe /opt/mysql/mysql/bin/mysql_fix_privilege_tables. Otherwise you will not be\r\nable to use the new GRANT command!\r\n\r\nYou can start the MySQL daemon with:\r\ncd . ; /opt/mysql/mysql/bin/mysqld_safe &\r\n\r\nYou can test the MySQL daemon with the benchmarks in the \'sql-bench\' directory:\r\ncd sql-bench ; perl run-all-tests\r\n\r\nPlease report any problems with the ./bin/mysqlbug script!\r\n\r\nThe latest information about MySQL is available on the web at\r\nhttp://www.mysql.com\r\nSupport MySQL by buying support/licenses at https://order.mysql.com |
|