数据库导入一直失败
来源:4-10 快速运行完整代码图文指导
vigigo
2019-11-06
,There was error(s) while executing the queries . The query and the error message has been logged at: C:\Users\Mloong\AppData\Roaming\SQLyog\sqlyog.err. Please click on “Open Error File…” to open the error file.第0条要求是什么
3回答
-
vigigo
提问者
2019-11-09
把第一句注释掉,解决了#CREATE DATABASE `food_db` DEFAULT CHARACTER SET = `utf8mb4`;
00 -
vigigo
提问者
2019-11-09
老师这个问题还是没解决,可以解答一下吗
00 -
vigigo
提问者
2019-11-06
cmd查询的
mysql> show grants for root@'localhost';
+---------------------------------------------------------------------+
| Grants for root@localhost |
+---------------------------------------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION |
| GRANT PROXY ON ''@'' TO 'root'@'localhost' WITH GRANT OPTION
然后sqlyon导入sql时候报错:
Query:
DROP TABLE IF EXISTS `user`
Error occured at:2019-11-06 21:25:27
Line no.:7
Error Code: 1044 - Access denied for user 'root'@'localhost' to database 'information_schema'
00
相似问题