请教MYSQL的本地访问限止

由 thunderbird 在 07-09-2003 18:55 发表:

请教MYSQL的本地访问限止

小弟想请教一下各位前辈们。

怎么设置才可以让MYSQL只有本地才可以访问连接??谢谢………


由 dancingpig 在 07-09-2003 21:45 发表:


grant 设置


由 thunderbird 在 07-09-2003 22:11 发表:


请前辈指教,小弟我已经明白了。可现在在搞MYSQL的ROOT问题。系统是新安装的。但就是用不了MYSQL:

/usr/local/mysql/bin/mysqladmin -u root password 123456

/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed

error: 'Access denied for user: 'root@localhost' (Using password: NO)'

请问这是怎么回事情啊??root 密码设置不了……


由 thunderbird 在 07-09-2003 22:12 发表:


./mysqladmin -u root@localhost password 123456

./mysqladmin: unable to change password; error: 'Access denied for user: '@localhost' to database 'mysql''


由 dancingpig 在 07-10-2003 10:49 发表:


ps -ef|grep mysql

你是不是密码错了?

看看mysql的目录权限没问题吧


由 thunderbird 在 07-10-2003 11:25 发表:

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus