Error: #1130 – Host ‘localhost’ is not allowed to connect to this MySQL server (Windows)
Open the file my.ini in the folder: C:\xampp\mysql\bin, and add the line “skip-grant-tables” under “[mysqld]”, then reboot Apache and MySQL, now you can open phpMyAdmin to visit the database.