3

I have problems getting into Mysql on phpmyadmin

(mysqli_real_connect()(HY000/1130)Host 'localhost'is not allowed to connect to this MariaDB server )

I have found out its a crashed file in mysql called "user' All the info I have read says to fix a crashed table use the dropdown menu 'With Selcted' . My 'With Selected' is not a dropdown (XAMPP Version: 7.3.7 , Control Panel Version: 3.2.4 ). It is in italic. Is there a shell command that I can use.

Thanks

1
  • 1
    I’m voting to close this question because it has been answered in the stackoverflow community as per author's own answer.
    – John K. N.
    Commented Apr 4 at 5:57

2 Answers 2

0

Just posted my question and I got a comment answer from my previous question on Stack Overflow:

First try to run the following command: mysqlcheck -u root -p --auto-repair --check --all-databases – Philip Petrov 1 hour ago

1
  • that works only , if you can still log in, else you can try to reset the root password
    – nbk
    Commented Jul 29, 2020 at 10:56
0

Switch from Engine=MyISAM to Engine=InnoDB.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.