Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql_socket path incorrect after install #24

Open
jimmyc802 opened this issue Mar 1, 2016 · 0 comments
Open

mysql_socket path incorrect after install #24

jimmyc802 opened this issue Mar 1, 2016 · 0 comments

Comments

@jimmyc802
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant