Error: Host ‘localhost’ not allowed to connect with mariaDB server:

For remove this error as shown in image:

just open xampp control panel:

click config of mysql and open php.ini file

and search [mysqld] and under its port number already will be showing

and just add these three Golden words under [mysqld]:

skip-grant-tables

and save its. and restart your xampp control panel again.

and now open phpmyadmin,

and open mysql database

and click on checkbox ahead of user table and under its a dropdown already show “with selected”

now open this dropdown and select repair table and your user table repaired from here.

Leave a Reply