Skip to content

Instantly share code, notes, and snippets.

@lucnap
Created June 5, 2019 18:25
Show Gist options
  • Save lucnap/58863ceb67eb14ee14e30ecbe32402cb to your computer and use it in GitHub Desktop.
Save lucnap/58863ceb67eb14ee14e30ecbe32402cb to your computer and use it in GitHub Desktop.
mysql secure passwords on command line
# impostare la password in modo sicuro con il seguente
mysql_config_editor set --login-path=mypath1 --host=localhost --user=username --password
# questo al fine di poter utilizzare mysqldump in modo sicuro con
mysqldump --login-path=mypath1 nomeDelDataBase > /path/dove/metto/i/backup/nomeDelDatabase.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment