1044 - Access denied for user 'user'@'localhost' to database 'db'

前端 未结 6 1606
感动是毒
感动是毒 2020-12-15 23:23

I tried a lot to import the sql script to create database and tables through phpmyadmin in the new site I hosted. But i\'m getting the error,

1044 - A

6条回答
  •  温柔的废话
    2020-12-16 00:03

    I had the same problem i solve it buy change the GRANTEE and made the user he can do all the operation in PhpMyAdmin ,follow the steps :

    1. Enter to mysql in root permission but :

      sudo mysql Enter the password, and type this :

      SELECT * FROM information_schema.user_privileges; And see the user in IS_GRANTABLE is he yes or no. If he yes then see the PRIVILEGE_TYPE what it might it be just tow operation if it's true add the last operations. and see this link to change IS_GRANTABLE from no to yes. I wish this could help you.

提交回复
热议问题