Debug School

rakesh kumar
rakesh kumar

Posted on

Host 'localhost' is not allowed to connect to this MariaDB server

host-localhost-is-not-allowed-to-connect-to-this-mariadb-server

I've accidentally deleted my users table (removed all users) now whenever I try to access my database it says: "host localhost is not allowed to connect to this MYSQL Server". I've tried connecting directly, same error. I'm using apache xampp for this.

Solution

C:\xampp71\mysql\bin\my.ini file.
Enter fullscreen mode Exit fullscreen mode
[mysql]
skip-grant-tables
Enter fullscreen mode Exit fullscreen mode

Top comments (0)