MySQL error

Tonight I discovered an error at my local Qube.

MySQL Connection Failed: Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’

Uhmpf.. Hey this was caused by a security Qube update I issued this afternoon.

Solution:
Create a symbolic link to /var/lib/mysql/mysql.sock at /tmp directory. This will solve the problem.
fixed: 5 minutes (even less).

But: Cacti gave me headaches: .. Unable to jump to row 0 on MySQL result index 2 in.

Dropping all tables, importing the sql file again solved also this problem. But if this is the correct way?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.