MySQL Forums
Forum List  »  PHP

mysql_connect(...) = Not working. Where should I start?
Posted by: Luth -
Date: April 06, 2006 01:33AM

PHP line:
$link = mysql_connect($host, $user, $password);

Verified that the host, user, and password are accurate. I can connect to the host using MySQL Query Browser, but when I call this PHP script from my webserver, I get the error:
Lost connection to MySQL server during query


I'm incredibly new at MySQL. Where should I start looking to fix this problem? What possibilities could it be?



Edited 1 time(s). Last edit at 04/06/2006 01:34AM by Luth -.

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.