Re: php cannot make connection to mysql
I not sure is this will solve the problem or not, but it works to me.
previously I do update from PHP 5.3.0 into 5.3.1.
MySQL works fine before I update and comes an error due to upgrading.
By following Joe Bedan instruction, it can solve my problem. but I still don't know what exactly the problem until I find something at my hosts file.
there are one line like this:
::1 localhost
after I remark it and change the MySQL connection host at PHP, it works.
if I unremark it, it back to the error.
Subject
Written By
Posted
December 07, 2009 08:18PM
December 07, 2009 11:13PM
December 07, 2009 11:40PM
December 08, 2009 12:49AM
December 10, 2009 04:19AM
Re: php cannot make connection to mysql
December 21, 2009 08:21AM
February 04, 2010 01:17PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.