FATAL ERROR: Could not find ./bin/my_print_defaults的解决办法
1 2 3 4 5 6 7 | [root@localhost scripts]# ./mysql_install_db --user=mysqlFATAL ERROR: Could not find ./bin/my_print_defaultsIf you compiled from source, you need to run 'make install' tocopy the software into the correct location ready for operation.If you are using a binary release, you must either be at the toplevel of the extracted archive, or pass the --basedir optionpointing to that location. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | [root@localhost bin]# lsinnochecksum mysql_client_test mysql_setpermissionmsql2mysql mysql_client_test_embedded mysqlshowmyisamchk mysql_config mysqlslapmyisam_ftdump mysql_convert_table_format mysqltestmyisamlog mysqld mysqltest_embeddedmyisampack mysqld_multi mysql_tzinfo_to_sqlmy_print_defaults mysqld_safe mysql_upgrademysql mysqldump mysql_waitpidmysqlaccess mysqldumpslow mysql_zapmysqlaccess.conf mysql_find_rows perrormysqladmin mysql_fix_extensions replacemysqlbinlog mysqlhotcopy resolveipmysqlbug mysqlimport resolve_stack_dumpmysqlcheck mysql_secure_installation |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | [root@localhost mysql]# ./scripts/mysql_install_db --user=mysqlInstalling MySQL system tables...OKFilling help tables...OKTo start mysqld at boot time you have to copysupport-files/mysql.server to the right place for your systemPLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !To do so, start the server, then issue the following commands:./bin/mysqladmin -u root password 'new-password'./bin/mysqladmin -u root -h localhost.localdomain password 'new-password'Alternatively you can run:./bin/mysql_secure_installationwhich will also give you the option of removing the testdatabases and anonymous user created by default. This isstrongly recommended for production servers.See the manual for more instructions.You can start the MySQL daemon with:cd . ; ./bin/mysqld_safe &You can test the MySQL daemon with mysql-test-run.plcd ./mysql-test ; perl mysql-test-run.plPlease report any problems with the ./bin/mysqlbug script![root@localhost mysql]# |

浙公网安备 33010602011771号