Skip to content

Instantly share code, notes, and snippets.

@POMATu
Created March 14, 2019 15:29
Show Gist options
  • Save POMATu/7e249958599ba339be61597f5e0c780e to your computer and use it in GitHub Desktop.
Save POMATu/7e249958599ba339be61597f5e0c780e to your computer and use it in GitHub Desktop.
Fixes mysql bug on clean installations
DROP USER 'root'@'localhost';
CREATE USER 'root'@'%' IDENTIFIED BY 'PASSWORD';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment