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

By gnanaguru, 18 October, 2023

Image removed.This error can be sorted out skipping grant table.

you can add the skip-grant-tables in mysql configuration file(my.ini)

open the my.ini file

Image removed.

add that line

Image removed.

and restart the mysql server.  Now you can noticed that localhost will be running as expected

Image removed.

 

Tags

Comments

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.