-
-
Notifications
You must be signed in to change notification settings - Fork 762
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
username and password should not be in command line #6
Labels
Comments
Thanks for your input. I'll tackle these issues very soon. |
This issue is fixed in version 2.0.2 |
@freekmurze cool. thanks for picking up my suggestions! |
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Big security isssue! This is really not a good idea.
This will make the username and password show up in the process list. You should never do that. In a shared hosting environment it means other users know your db credentials.
Instead, write a mysql conf file to laravel storage containing the credentials and use it like this:
the $confFile could look something like this
PS: For extra credits; If you want to make the backup versionable (git) the command should produce the same results for unchanged databases. That only happens if you also use the arguments
--skip-extended-insert
and--skip-comments
.The text was updated successfully, but these errors were encountered: