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 Backup does not work when using sockets. #24

Closed
spaceemotion opened this issue Apr 12, 2015 · 2 comments
Closed

MySQL Backup does not work when using sockets. #24

spaceemotion opened this issue Apr 12, 2015 · 2 comments
Labels

Comments

@spaceemotion
Copy link

Today, I discovered that the scheduled backups I had on a client's project weren't working quite as intended. Digging through the files, I found the cause of the problem:

mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect

It seems like the backup script does not pick up the socket configuration I have in my config/database.php:

['unix_socket' => '/tmp/mysql5.sock']

Fixing this would be much appreciated! Thanks for this wonderful package :)

Edit: Maybe this helps: http://stackoverflow.com/questions/15318875/mysqldump-cannot-connect-using-socket

@freekmurze
Copy link
Member

This is solved in version 2.2.0

@spaceemotion
Copy link
Author

Thank you very much!

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

No branches or pull requests

2 participants