umaxim
asked on
Mysql
I i get every time error
Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.so ck' (2) when trying to connect
when i try to mysql start
Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.so
when i try to mysql start
Is that file in that location?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
it was work with root
What OS is this? How did you install mysql-server? How are you starting mysqld?
Unless you purposely changed something to have it run as root, it's probably not. You can start it as user root but the actual process will be ran as a non-privileged user.
What are the directory permissions for /var/run/mysqld ?
Unless you purposely changed something to have it run as root, it's probably not. You can start it as user root but the actual process will be ran as a non-privileged user.
What are the directory permissions for /var/run/mysqld ?
@umaxim are you still having this issue?
Hi umaxim, any update on this?
ASKER
I doun the error