ERROR 1044 (42000): Access denied for 'root' With All Privileges

后端 未结 4 1903
一生所求
一生所求 2020-12-01 08:06

I have strange error. I am logged in local Mysql as root via command line. After creating database:

create database some_db;

Then giving pr

4条回答
  •  清歌不尽
    2020-12-01 08:44

    The reason i could not delete some of the users via 'drop' statement was that there is a bug in Mysql http://bugs.mysql.com/bug.php?id=62255 with hostname containing upper case letters. The solution was running following query:

    DELETE FROM mysql.user where host='Some_Host_With_UpperCase_Letters';
    

    I am still trying to figure the other issue where the root user with all permissions are unable to grant privileges to new user for particular database

提交回复
热议问题