[opensuse-factory] MySQL client only connects as root locally after latest update
Since latest MySQL server update (5.6.36-1.1) on Tumbleweed the MySQL client can only connect as root locally. The reason is this change: $ rpm -q --changelog mysql-community-server-5.6.36-1.1.x86_64 [...] - set the default umask to 077 in mysql-systemd-helper [bsc#1020976] [...] The temporary directory /run/mysql is created with limited rights. A MySQL client without root rights can not connect the server with the socket /run/mysql/mysql.sock anymore. $ ls -ld /run/mysql/ drwx------ 2 mysql mysql 60 May 1 21:14 /run/mysql/ myuser@mybox:~> mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (13) The fix is trival: uncomment the "umask 077" line in /usr/lib/mysql/mysql-systemd-helper. But bug bsc#1020976 is restricted. So it's unclear why "umask 077" is set. Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (1)
-
Bjoern Voigt