MySQL Forums
Forum List  »  PHP

Re: unknown mysql server host 127.0.0.1:90 error ... how to connect when not on port 80
Posted by: Felix Geerinckx
Date: January 10, 2006 03:10PM

shembrut wrote:

> mysqli_connect ("127.0.0.1:90", "root", "pass", "prodDB", "3306")

Don't attach the webserver's port to the ip-address. MySQL listens by default on port 3306, which you specify as last parameter in the connect call.

--
felix
Please use BBCode to format your messages in this forum.

Options: ReplyQuote


Subject
Written By
Posted
Re: unknown mysql server host 127.0.0.1:90 error ... how to connect when not on port 80
January 10, 2006 03:10PM


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.