0

I can use mysql client to open mysql.sock with system root user. but I can't use other system user use thee mysql client. the error message is:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/mnt/mysql/mysql.sock' (13)

before this, I only use setfacl command on mysql directory:

setfacl -m u:hank:rx mysql
setfacl -m d:u:hank:rx mysql

then i can't access mysql with mysql client tool. how to fix it?

4

1 回答 1

0

我想这是因为您的登录用户没有访问您的 [MySQL] 进程的可用权限。

于 2017-09-07T06:13:18.213 回答