surrogate icon indicating copy to clipboard operation
surrogate copied to clipboard

mysql_socket path incorrect after install

Open jimmyc802 opened this issue 8 years ago • 0 comments

Not sure if this is by design or not, but after install the mysql_socket variable was incorrect in the surrogate.conf, resulting in this error in the logs:

160229 22:58:53 Connecting to MySQL server host: localhost, user: backups, password: set, port: 0, socket: /run/mysqld/mysqld.sock Failed to connect to MySQL server: Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2).

Easy enough to fix in the config but might be good to have a comment prompting users to double check that path.

mysql_socket="/run/mysqld/mysqld.sock"

mysql_socket="/var/lib/mysql/mysql.sock"

Worked perfect after resolving that. Great work on this script BTW!

jimmyc802 avatar Mar 01 '16 05:03 jimmyc802