./scripts/mysql_install_db --user=testprm 痛定思痛。 2021-10-19 11:56 230阅读 0赞 \[root@iZbp18oble1qsp6sylzjb0Z mysql\]\# ./scripts/mysql\_install\_db --user=testprm Installing MySQL system tables... 190821 17:03:13 \[Warning\] Using unique option prefix log-err instead of log\_error is deprecated and will be removed in a future release. Please use the full name instead. 190821 17:03:13 \[Note\] Ignoring --secure-file-priv value as server is running with --bootstrap. 190821 17:03:13 \[Note\] /usr/local/mysql/bin/mysqld (mysqld 5.5.62-log) starting as process 12291 ... OK Filling help tables... 190821 17:03:13 \[Warning\] Using unique option prefix log-err instead of log\_error is deprecated and will be removed in a future release. Please use the full name instead. 190821 17:03:13 \[Note\] Ignoring --secure-file-priv value as server is running with --bootstrap. 190821 17:03:13 \[Note\] /usr/local/mysql/bin/mysqld (mysqld 5.5.62-log) starting as process 12298 ... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/local/mysql/bin/mysqladmin -u root password 'new-password' /usr/local/mysql/bin/mysqladmin -u root -h 172.16.253.242 password 'new-password' Alternatively you can run: /usr/local/mysql/bin/mysql\_secure\_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd /usr/local/mysql ; /usr/local/mysql/bin/mysqld\_safe & You can test the MySQL daemon with mysql-test-run.pl cd /usr/local/mysql/mysql-test ; perl mysql-test-run.pl Please report any problems at http://bugs.mysql.com/
还没有评论,来说两句吧...