显示:“已经禁用删除数据库(DROP DATABASE)语句”
请教这是在哪里更改设置的?
9 个解决方案
#1
show grants;
贴出以供分析,怀疑用的不是 root@localhost 账号。
贴出以供分析,怀疑用的不是 root@localhost 账号。
#2
先select user();
然后show grants for 第一步打印出来的用户和host;
然后show grants for 第一步打印出来的用户和host;
#3
grant all privileges on *.* to root@'%' identified by "Passwd";
#4
执行
SHOW GRANTS FOR root@localhost
显示
Grants for root@localhost
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*C2BD52860ACC98B2AEBA75DA5E0ACB63841C1BD6' WITH GRANT OPTION
GRANT PROXY ON ''@'' TO 'root'@'localhost' WITH GRANT OPTION
SHOW GRANTS FOR root@localhost
显示
Grants for root@localhost
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*C2BD52860ACC98B2AEBA75DA5E0ACB63841C1BD6' WITH GRANT OPTION
GRANT PROXY ON ''@'' TO 'root'@'localhost' WITH GRANT OPTION
#5
#6
你是怎样登录的,用什么用户?
#7
让你贴 show grants,为什么你要贴SHOW GRANTS FOR root@localhost?!
#8
关注
#9
google :phpmyadmin drop database enable
#1
show grants;
贴出以供分析,怀疑用的不是 root@localhost 账号。
贴出以供分析,怀疑用的不是 root@localhost 账号。
#2
先select user();
然后show grants for 第一步打印出来的用户和host;
然后show grants for 第一步打印出来的用户和host;
#3
grant all privileges on *.* to root@'%' identified by "Passwd";
#4
执行
SHOW GRANTS FOR root@localhost
显示
Grants for root@localhost
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*C2BD52860ACC98B2AEBA75DA5E0ACB63841C1BD6' WITH GRANT OPTION
GRANT PROXY ON ''@'' TO 'root'@'localhost' WITH GRANT OPTION
SHOW GRANTS FOR root@localhost
显示
Grants for root@localhost
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*C2BD52860ACC98B2AEBA75DA5E0ACB63841C1BD6' WITH GRANT OPTION
GRANT PROXY ON ''@'' TO 'root'@'localhost' WITH GRANT OPTION
#5
#6
你是怎样登录的,用什么用户?
#7
让你贴 show grants,为什么你要贴SHOW GRANTS FOR root@localhost?!
#8
关注
#9
google :phpmyadmin drop database enable