If you got an error like: “Host ‘localhost’ is not allowed to connect to this MariaDB server” you can edit the file xampp\mysql\bin\my.ini
Add this line:
skip-grant-tables
after [mysqld] group.
Example:
[mysqld]
skip-grant-tables
port=3306
socket=/tmp/mysql.sock
After that, login to phpmyadmin and repair the users table as it mostly is corrupted.
Also try to rename :
xampp\mysql\data\ibdata1
to
xampp\mysql\data\ibdata1.bak