Skip to content

Instantly share code, notes, and snippets.

@kevin39
Created December 27, 2016 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevin39/22bcf93b8119c1f5ccc1ab82b79157c3 to your computer and use it in GitHub Desktop.
Save kevin39/22bcf93b8119c1f5ccc1ab82b79157c3 to your computer and use it in GitHub Desktop.
'Access denied for user 'debian-sys-maint'@'localhos
cat /etc/mysql/debian.cnf
mysql -u root -p
Enter password:
Puis on recrée l’utilisateur avec le mot de passe trouvé précedemment dans /etc/mysql/debian.cnf :
mysql>GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED \
BY 'Le_passwd_du_fichier';
mysql>FLUSH PRIVILEGES;
mysql>exit
mysql>bye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment