Is mysql service started? Check with: ps -ax mysql | grep -i mysql
If it does't appear on tje list, start the service with: service mysql start Adolfo P.S. I have mysql.sock in /var/lib/mysql which is the default. Check also basedir in your /etc/my.cnf. > -----Original Message----- > From: Rich Dodge [mailto:[EMAIL PROTECTED]] > Sent: Saturday, December 21, 2002 11:10 AM > To: [EMAIL PROTECTED] > Subject: i need help > > > I keep getting this message what can i do to correct this problem ? > > > Warning: Can't connect to local MySQL server through socket > '/var/run/mysqld/mysqld.sock' (2) in > /web/repository/sites/www/inc/generate-page.php on line 4 > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail > <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > > > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php