http://bugzilla.suse.com/show_bug.cgi?id=1087891
http://bugzilla.suse.com/show_bug.cgi?id=1087891#c46
Thorsten Kukuk changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|needinfo?(kmacinnes@suse.co |
|m) |
--- Comment #46 from Thorsten Kukuk ---
Thanks to the fix from Kiall I get now the correct error messages:
pymysql.connect: localhost:3306/salt
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/pymysql/connections.py", line 921, in
connect
**kwargs)
File "/usr/lib64/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/lib64/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
So the situation is:
salt/PyMySQL tries to connect to the mysql database via localhost:3306, but
this does not work (permission denied). It's not using /run/mysql/mysql.sock
How should this work?
Did we configure salt to use the unix socket, and this information goes somehow
lost in salt/PyMySQL (pymysql.connect is called without unix socket name, else
it would not end in this branch), or should mysql listen on localhost:3306?
--
You are receiving this mail because:
You are on the CC list for the bug.