Configuration of the MySQL server遇到错误 请教

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
pjx_raul
帖子: 2
注册时间: 2008-09-30 15:28

Configuration of the MySQL server遇到错误 请教

#1

帖子 pjx_raul » 2008-10-08 16:34

# Configuration of the MySQL server
# Define a new MySQL root password
# Assume `mysqlrootpw' is your password
mysqladmin -h localhost -u root password mysqlrootpw

这些步骤,为什么按照以上会出现
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

这俩个错误分别代表什么,还请指教?刚学

另外,我也看了本论坛的其他文章 也输入了指令可以进去
pengraul@pengraul-desktop:~$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 18
Server version: 5.0.51a-3ubuntu5.3 (Ubuntu)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
cxczqfrx
帖子: 107
注册时间: 2007-07-11 11:10

Re: Configuration of the MySQL server遇到错误 请教

#2

帖子 cxczqfrx » 2008-10-09 16:47

登陆mysql后,看看user表里面的host内容是否存在问题
回复