LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 654|回复: 5

关于phpMyAdmin的问题!

[复制链接]
发表于 2004-6-22 11:34:13 | 显示全部楼层 |阅读模式
我把phpMyAdmin下载完后解压到apache的指定网页目录下,
然后在IE 中输入:
http://192.168.200.8/phpMyAdmin/

但是出错!显示:

Welcome to phpMyAdmin 2.5.7


phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.

Error

MySQL said:


#1045 - Access denied for user: 'root@localhost' (Using password: NO)

[Documentation]




请问高手你是什么原因?
 楼主| 发表于 2004-6-22 11:42:09 | 显示全部楼层
但是我在linux终端是可以进入mysql的。

[root@kj02s phpMyAdmin]# mysql -uroot -pXXXXXX
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 13 to server version: 3.23.56

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>
发表于 2004-6-22 14:30:23 | 显示全部楼层
You should check the username and password in config.inc
发表于 2004-6-22 22:16:05 | 显示全部楼层
You should check the host, username and password in config.inc.php

很明显啊,你没有写username password,去检查config.inc.php这个文件!
 楼主| 发表于 2004-6-27 10:21:31 | 显示全部楼层
但是如果把密码放在里面的话,
不是人人都可以打开的我的phpMyAdmin
发表于 2004-6-27 10:45:33 | 显示全部楼层
修改一下,让用户登陆
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表