-
Notifications
You must be signed in to change notification settings - Fork 32
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
Windows-specific issues? #25
Comments
I have the same exact issues on Windows 7, running Laravel Homestead for my sites locally. (This was a Laravel 5.8.23 project.) |
Looks like the laravel/framework repo does some detecting of whether it is windows or not when choosing to append https://github.com/laravel/framework/search?q=%2Fdev%2Fnull&unscoped_q=%2Fdev%2Fnull Seems like doing the null output suppresses the following errors on Windows:
So if on a Windows machine, the backup is not going to run through Homestead but your local machine. Notes about installing the MySQL 8 server on Windows to check the availability of |
I think the latest code will resolve these issues. Can you confirm? |
Hi!
I tried to fix them on the following Pull Request: I couldn't check if it's working with GNU/Linux or Mac OS |
Today I could make a new test and the fixes are also working on GNU/Linux (using Docker) |
When I was setting this up on my Windows (localhost), I ran into a couple of problems:
I had to add MySQL to my PATH so that the mysqldump command would work. Maybe this should be stated on the README? It wasn't immediately obvious to me, at least.
The "2>/dev/null" at the end of the mysqldump call gives the output "The system cannot find the file specified" and results in an empty
snipe_snapshot.sql
file. Removing it fixes the error and the sql file is then populated.The text was updated successfully, but these errors were encountered: