Question: failed to connect to mysql host 'localhost' is not allowed to connect to this mariadb server?
Answer: You can add skip-grant-tables to the my. ini file for the [mysqld] tag, under # The MySQL server , and restart the mysql server. You can now open phpmyadmin and go to the user table in the mysql database. Make sure that the value of the password attribute is empty and that the value of host attribute is localhost.