MySQL Forums
Forum List  »  Install & Repo

Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Posted by: Robin Whitlock
Date: March 29, 2005 10:42AM

I too have been bashing my head against the keyboard on this and found a tip that solved it for me. SELinux was my problem and needed to disable it for mysqld (run system_config_securitylevel and select SELinux and the bottom twistie will expose the deamons). Once done rerun "mysql_install_db --user=mysql" followed by "/usr/bin/mysqld_safe &". At least this is what done it for me on FC3.

Cheers
Robin

Options: ReplyQuote


Subject
Written By
Posted
Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
March 29, 2005 10:42AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.