我想我知道问题所在了,在php.ini中,include_path="";我先前设置错了 现在出现东西了,不过有错误报告: Welcome to phpMyAdmin 2.5.4 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.ErrorMySQL said: #1045 - Access denied for user: '[email protected]' (Using password: YES)[Documentation]
DOCUMENTATION中是这样写的,我照做了,但是没有用,是我英文水平不到家?不会啊 [2.6] I get an "Access denied for user: 'root@localhost' (Using password: YES)"-error when trying to access a MySQL-Server on a host which is port-forwarded for my localhost When you are using a port on your localhost, which you redirect via port-forwarding to another host, MySQL is not resolving the localhost as expected. Erik Wasser explains: The solution is: if your host is "localhost" MySQL (the commandline tool 'mysql' as well) always tries to use the socket connection for speeding up things. And that doesn't work in this configuration with port forwarding. If you enter "127.0.0.1" as hostname, everything is right and MySQL uses the TCP connection.
2,灯是绿的 表示mysql已经启动正在运行,红的就说明没有启动。
3,winmysqladmin可以为你的mysql生成一个配置文件,就是你说的my.sql,如果你的系统中没有my.ini或其中内容不对,mysql是无法启动的。不知道你把你系统中的my.ini帖全没有,光你贴出的 内容是不够的。
4,检测php可以在iis里面,发布一个虚拟目录,建立 文件t.php,内容<? phpinfo();?>在浏览器里看看结果如何
5,没有现实显然是不对的,不过连报错信息都没有,就不知道该怎么办拉,另外我推测你的mysql还没有完全安装成功
你的index.php里是什么?
怎么用phpmyadmin建立数据库等操作呢,当然要出现某个界面吧,给你进行鼠标建库,而不是在命令提示符中用文本文件或命令建库吧
现在出现东西了,不过有错误报告:
Welcome to phpMyAdmin 2.5.4
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.ErrorMySQL said:
#1045 - Access denied for user: '[email protected]' (Using password: YES)[Documentation]
[2.6] I get an "Access denied for user: 'root@localhost' (Using password: YES)"-error when trying to access a MySQL-Server on a host which is port-forwarded for my localhost
When you are using a port on your localhost, which you redirect via port-forwarding to another host, MySQL is not resolving the localhost as expected.
Erik Wasser explains: The solution is: if your host is "localhost" MySQL (the commandline tool 'mysql' as well) always tries to use the socket connection for speeding up things. And that doesn't work in this configuration with port forwarding.
If you enter "127.0.0.1" as hostname, everything is right and MySQL uses the TCP connection.