Skip to content

Instantly share code, notes, and snippets.

@tranquangchau
Created November 15, 2019 04:56
Show Gist options
  • Save tranquangchau/33405c2ff2f6085f4e5b510a613bfd18 to your computer and use it in GitHub Desktop.
Save tranquangchau/33405c2ff2f6085f4e5b510a613bfd18 to your computer and use it in GitHub Desktop.
flow fix xampp error link https://imgur.com/xGERdNt
Đến folder C:\xampp\mysql\bin
Mở file my.ini
Thêm skip-grant-tables phía dưới thẻ [mysqld]
Vào windows services và stop mysql
Vào CMD cd C:\xampp\mysql\bin\mysql
Reset password mysql bằng query update mysql.user set password=PASSWORD('root') where user='root';
Thoát CMD.
Vào windows service khởi động lại mysql ở bước 4.
Bây giờ đã có thể đăng nhập vào mysql với password root mới.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment