If you don't see any connection in the MySQL logs, check that the Unix socket is in the correct place and has the correct permissions.

[0:root@elmo DocumentRoot]$ cat /etc/redhat-release
Fedora release 22 (Twenty Two)
[0:root@elmo DocumentRoot]$ ldpz /var/lib/mysql/mysql.sock
drwxr-xr-x. 25 root  root system_u:object_r:var_t:s0            4096 Feb 24 
08:17 /var
drwxr-xr-x. 80 root  root  system_u:object_r:var_lib_t:s0 4096 Feb 25 03:30 
/var/lib
drwxr-xr-x. 34 mysql mysql system_u:object_r:mysqld_db_t:s0 4096 Feb 26 01:55 
/var/lib/mysql
srwxrwxrwx.  1 mysql mysql system_u:object_r:mysqld_var_run_t:s0    0 Feb 24 
08:19 /var/lib/mysql/mysql.sock


Bill


On 2/25/2016 7:27 AM, Christian Renner wrote:
Have you looked at the MySQL logs?
Yes, there is nothing in the logs. Even if I enable the mysql query log the 
defined query doesn’t show up in the logs…

Christian

Reply via email to