Laragon – Install MySQL 8

how i did:

  • Delete your data folder: located at “C:\laragon\data” by default:
  • Download latest Community MySQL Server(zipped): https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.17-winx64.zip
  • Extract it to default mysql bin: Mine’s here -> C:\laragon\bin\mysql
  • Then open Cmder and type: cd C:\laragon\bin\mysql\mysql-8.0.17-winx64\bin followed by
  • mysqld –initialize –console (write the password generated for later)
  • type start mysqld
  • then with the password generated -> mysql -u root -p
  • and alter the password to the laragon default’s: ALTER USER ‘root’@’localhost’ IDENTIFIED BY ”;
  • Should return an QUERY OK.
  • type exit
  • on the other cmder tab close mysqld hitting ctrl+c

Was this helpful?

0 / 0