I uploaded my site to the schools server, however, I was not able to get a MySQL database from them, so I wanted to have the php script save the names and email address that people entered to the database on my personal server.
I replaced:
$db = mysql_connect("localhost", xxxxx, xxxxx)
with:
$db = mysql_connect("myserver.com", xxxx, xxxx)
I had it as localhost so I was able to have the whole thing working when I built the site on my server. Now, since its stored on the schools server I need to change it. Heres the error it gives me:
Warning: mysql_connect(): Lost connection to MySQL server during query in /usr/local/apache/ysuweb/stu_org/SADD/_saddInfo.php on line 20
Lost connection to MySQL server during query
Any help ASAP would be GREAT!!! Thanks!!
btw... this is for our schools Students Agaist Destructive Decisions ( or drunk driving) chapter... so know you're helping a good cause 
|