Skip to content

Instantly share code, notes, and snippets.

@jhonoryza
Created September 26, 2021 07:52
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 jhonoryza/f50241aad6e0072b3c467a7ff287fd83 to your computer and use it in GitHub Desktop.
Save jhonoryza/f50241aad6e0072b3c467a7ff287fd83 to your computer and use it in GitHub Desktop.
  • Delete largon/data/mysql-8
  • cd to laragon/bin/mysql8.0.0.x/bin folder via cmder (important for step 3)
  • run 'mysqld --initialize --console' (remember the password)
  • run 'start mysqld'
  • run 'mysql -u root -p'
  • put in the password from 3.
  • You are now in mysql shell and can remove the password again: "ALTER USER 'root'@'localhost' IDENTIFIED BY '';"
  • run 'exit' and ctrl + c the spawned tab from step 4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment