I'm trying to install this php script and I'm getting hung up.
I've gotten to the fifth part in the instructions where it says
I edited my db.php file to say
mysql_connect("pietimer.exofire.net","admin","admin")
or die("Could not connect: " . mysql_error());
but I get this error when I try to access pietimer.exofire.net/giftreg/index.php
Anyone know what's going on?
Thanks!
I've gotten to the fifth part in the instructions where it says
5. Configure db.php
Change to the phpgiftreg/ directory and edit the db.php file. There's a line
with a call to mysql_connect(). Change it to suit your setup.
mysql_connect("host","username","password")
or die("Could not connect: " . mysql_error());
I edited my db.php file to say
mysql_connect("pietimer.exofire.net","admin","admin")
or die("Could not connect: " . mysql_error());
but I get this error when I try to access pietimer.exofire.net/giftreg/index.php
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/pietimer/public_html/giftreg/db.php on line 16
Could not connect: Lost connection to MySQL server at 'reading initial communication packet', system error: 111
Anyone know what's going on?
Thanks!