PDA

View Full Version : mysql connect error out of no where.


Vashant
7th March 2006, 12:11 AM
Hi, I have just recently installed your program and up till this point it has been working fine (about 10 days), out of nowhere people just started receiving the message below when someone goes to sign up for my affiliate program and are brought to affsighnup.php.

Warning: mysql_connect(): Unknown MySQL Server Host 'DB_HOSTNAME' (1) in /home/vashant/public_html/affiliate/include/adodb/drivers/adodb-mysql.inc.php on line 677
Unknown MySQL Server Host 'DB_HOSTNAME' (1)


That error brings me to line 677 which is:

$this->forceNewConnect,$this->clientFlags);


What would cause this and more importantly how do I fix it?


Thanks in advance,


Vashant

Aaron
18th July 2006, 06:46 AM
I'm looking into it..It looks like it deleted my db info.
I wonder if that happened when i uploaded some files from my local drive.

can you tell me which files are edited on the install?

-Aaron

tigerincanada
5th August 2006, 10:07 PM
After you run the installer script, ftp the contents of /settings back down to your local drive. This will preserve your DB connection info if you subsequently upload everything again.