Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] MySQL behaving strangely



Le mardi 16 septembre 2008, Dave M G a écrit :

>
> $ mysql -u root -p
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)
>
> Does this shed any more light on the problem?

As I said, your sql server is running, so just try to symlink the sock.
ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock
ln -s /var/run/mysqld/mysqld.sock /tmp/mysqld.sock
If that comes from there, rebuild SQL, or reconfigure/rebuild php/phpmyadmin.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links