设置root用户口:/usr/local/mysql/bin/mysqladmin -u root -p password 'yourpass'
Enter password:
返回信息:
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: YES)'
以上没有正确设置吧?
vi rc.local:末尾加入/usr/local/mysql/bin/safe_mysqld --user=mysql &
重新启动
开机器后提示:
/etc/rc3.d/S99local: line 8: /usr/local/mysql/bin/safe_mysqld: No such file or directory