Learn PHP soon, used to be a good environment ampserver and Nmpserver, but is PHP5.2, want to use the new characteristics of PHP5.3 ah, on their own environment, did not expect to encounter a lot of problems, phpmyadmin not even on the MySQL database. Error.log log: 2010/09/01 23:18:27 [ERROR] 4224#4608: *9 upstream timed out (10060:a connection attempt failed because th E connected party did not properly respond after a period of time, or established connection failed the because connected host Has failed to respond) while reading response header from upstream, client:127.0.0.1, server:localhost, Request: "Get/ PHPMYADMIN/INDEX.PHP?TOKEN=EC74C92D2E66643912BFAA3633064CCB http/1.1 ", Upstream:" fastcgi://127.0.0.1:9000 ", Host: "LocalHost", referrer: "http://localhost/phpMyAdmin/" my environment PHP 5.3; Phpmyadmin3.3.6;mysql 5.1.50. After reference to the following article to solve the problem: the original address: http://hi.baidu.com/guitar_dotnet/blog/item/f02d1b45905929348694736f.html A connection Attempt failed because the connected party did not properly. March 14, 2010, Sunday 19:47
A connection attempt failed because the connected party did no properly after a respond of time, or period Co Nnection failed because connected host has failed to respond. cannot be used after MySQL has been installed on the server. phpMyAdmin don't even have anything to do. Exclude phpMyAdmin Configuration Error problem Write a Test yourself: “ <?php $link = mysql_connect ("localhost", "root", "root") Or Die ("Could not connect:".) Mysql_error ()); Print ("Connected successfully"); Mysql_close ($link); ?> ” No way.... and write a “ <?php $link = mysql_connect ("127.0.0.1", "root", "root") Or Die ("Could not connect:".) Mysql_error ()); Print ("Connected successfully"); Mysql_close ($link); ?> ” Ah, yes. Because php5.3 default is not to recognize localhost ~ Try to change the localhost into 127.0.0.1. pass~ I hope we can help. |