Does /var/lib/mysql/mysql.sock exist? Is it world unwritable? Is it writable by whatever user starts mysql? Does it exist (did it get deleted)? Are you sure you want to use configi.inc.php and not config.inc.php? That's all I can think of. On Mon, 17 Mar 2003, Marie Osypian wrote: > I was able to access my database for weeks and now I am getting this error. > Can anyone help? > > > Warning: Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) in > /home/blah/public_html/includes/configi.inc.php on line 3 > > Warning: MySQL Connection Failed: Can't connect to local MySQL server > through socket '/var/lib/mysql/mysql.sock' (2) in > /home/blah/public_html/includes/configi.inc.php on line 3 > > Thanks, > > Marie > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman@purplecow.com http://www.purplecow.com/ --------------------------------------------------------------------------- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php