OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
RE: 'Can't connect to local MySQL server....' error

From: Tom Crimmins (mysql2pottcounty.com)
Date: Mon Mar 28 2005 - 21:53:30 CST


On Monday, March 28, 2005 21:36, bruce wrote:

> hi...
>
> a server went from RH8 to FC2. it appears that the guy who did the
> upgrade didn't perfrom any backups...
>
> i get a 'Can't connect to local MySQL server through socket...' error.
>
> i've tried to 'fix' the tables 'mysql_fix_privilege_tables' with no
> luck... i've tried to start/restart with no luck. i've lloked through
> google/mysql with no luck...
>
> any ideas as to what might be causing the problems... if i can get the
> daemon started, i'll (hopefully) be ok...

Is there anything in the error log? You could try starting it from the
command line to see what errors you get. The following will work assuming
you installed using the rpm's. Otherwise the location of mysqld and the
user may differ.

#su - mysql
#/usr/sbin/mysqld

Run this and see what errors are reported.

> thanks
>
> bruce
> bedouglasearthlink.net

--
Tom Crimmins
Interface Specialist
Pottawattamie County, Iowa

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql