MySQL Forums
Forum List  »  PHP

Re: Cannot connect to MySQL using mysql_connect in PHP
Posted by: Nick n
Date: March 09, 2008 02:29PM

try using $link = mysql_connect($hostname,$mysql_login,$mysql_password) or die(mysql_error());

and check the error.

Options: ReplyQuote




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.