explicitly pass unix_socket
this affects only kubic for now where we use PyMySQL
we cant use the MYSQL_UNIX_PORT workaround anymore as we could
do with MySQLdb
salt#mysql-unix-socket
mysql:
- # salt does not support specifying the UNIX socket location here - as a workaround,
- # use the MYSQL_UNIX_PORT environment variable used by libmysqlclient
# you still need the 'host' value here, or it will use the defaults and try to connect
# on a host named 'salt'
host: 'localhost'
user: 'salt'
db: 'velum_production'
+ unix_socket: '/var/run/mysql/mysql.sock'
