Hello....I was adding the mod for 'logging the IP rather than the hostname' on the guestbooks I maintain. I got to guestbook number 4, edited the add.class.php file and uploaded it. I then opened the guestbook in my browser and I got this error.....
Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/***/public_html/guestbook/lib/mysql.class.php on line 30
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/***/public_html/guestbook/lib/mysql.class.php on line 30
Connection Error
I didn't have a problem with the first 3 books so I wonder if this is a server problem instead of from editing the add.class.php file? I haven't looked at that guestbook for awhile. The server is using PHP Version : 4.1.1
Thanks for the replies....the book that is erroring, is on a different server than the others. I think the server is the problem now, as I can't login into phpMyAdmin. I'm getting an error there too. Time to fire off an email to support
Yep - probably a server / host issue - especially if the script was working fine and the only thing you were doing was modifying a few lines.... The only other time I will see that error is if a webmangler changes his account password but doesn't change the password in a script's config file that contains the MySql path and password....