MySQL Forums
Forum List  »  PHP

Re: php cannot make connection to mysql
Posted by: Joe Bedan
Date: December 08, 2009 12:49AM

I just figured it out! Well sort of. I changed:

$cfg['Servers'][$i]['host'] = 'localhost';

to

$cfg['Servers'][$i]['host'] = '127.0.0.1';

That made it work. Aren't those supposed to be the same thing?
Oh well. Good enough for me.

Thank you for help anyway!

Joe

Options: ReplyQuote


Subject
Written By
Posted
Re: php cannot make connection to mysql
December 08, 2009 12:49AM


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.