mysql error

adamp

Verified User
Joined
Jan 11, 2007
Messages
137
when I try to enter mysql mangment i get this error:

Error connecting to MySQL: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

and i don't see the database

I change chmod and chown of this public:

/var/lib/mysql

i do this:

chmod 660 /var/lib/mysql

AND THIS:
chown mysql.mysql *

after i do this the problem begin
 
i fix problem

cd /usr/local/directadmin/scripts
./set_permissions.sh all

thanks i have other problem with binary sql that i want to upload

i move all files
/var/lib/mysql/name_name

after i craete new database

and i do this chown:

chown -R mysql:mysql /var/lib/mysql

the forum working good until i login to forum and enter to some of forum
when i enter some of them all messages deleted.

someone know what is the problem??
 
Back
Top