安装完默认得mysql以后用mysql_install_db 来初始化mysql,然后给出提示按提示
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd / ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
进行配置.
本文介绍如何使用mysql_install_db初始化MySQL数据库,并提供设置root用户密码的方法。文中还包含了启动MySQL服务及进行基本配置测试的步骤。

被折叠的 条评论
为什么被折叠?



