mysql CREATE USER

前端 未结 5 1952
一生所求
一生所求 2021-02-12 22:45

I am logged into mysql...

mysql -u root -pmypass

And I have run the following command to remove the database user which worked succesfully

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-12 23:31

    Check following 2 tables if user is still there after DROP USER command: mysql.user and mysql.db.

    Delete user from both, then run FLUSH PRIVILEGES and then you can recreate the user.

提交回复
热议问题