Open C:\xampp\mysql\bin\my.ini
(MySQL config file)
Find the line [mysqld]
and right below it add skip-grant-tables
. Example:
# The MySQL server
[mysqld]
skip-grant-tables
port= 3306
socket = "C:/xampp/mysql/mysql.sock"
# This hosts file is brought to you by Dan Pollock and can be found at | |
# http://someonewhocares.org/hosts/ | |
# You are free to copy and distribute this file for non-commercial uses, | |
# as long the original URL and attribution is included. | |
#<localhost> | |
127.0.0.1 localhost | |
127.0.0.1 localhost.localdomain | |
255.255.255.255 broadcasthost | |
::1 localhost |
Open C:\xampp\mysql\bin\my.ini
(MySQL config file)
Find the line [mysqld]
and right below it add skip-grant-tables
. Example:
# The MySQL server
[mysqld]
skip-grant-tables
port= 3306
socket = "C:/xampp/mysql/mysql.sock"