how to drop database

前端 未结 12 2024
广开言路
广开言路 2020-12-29 05:40

i used the following sytanx

drop database filmo; 

and got the following error:

ERROR 1010 (HY000): Error dropping database         


        
12条回答
  •  长情又很酷
    2020-12-29 06:30

    I had this problem and it seems to be about your mysql user permissions. try doing it by root user if it did work use this command as root to grand drop permission to your user:

    grant drop
    execute on *.* to 'your-user-name'@'user-ip';
    

提交回复
热议问题