Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ant-rod-silva/d06723cfe777fe35cf7dbbddbb8f734f to your computer and use it in GitHub Desktop.
Save ant-rod-silva/d06723cfe777fe35cf7dbbddbb8f734f to your computer and use it in GitHub Desktop.

Access Prompt and input:

mysqld -u

On mysql prompt, input:

UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';
FLUSH PRIVILEGES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment