MySQL运行SQL文件时出现“check the manual that”的解决方法

48次阅读
没有评论

共计 505 个字符,预计需要花费 2 分钟才能阅读完成。

自动写代码机器人,免费开通

丸趣 TV 小编给大家分享一下 MySQL 运行 SQL 文件时出现“check the manual that”的解决方法,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!

本篇文章给大家介绍一下运行 SQL 文件时出现“check the manual that”的解决方法。有一定的参考价值,有需要的朋友可以参考一下,希望对大家有所帮助。

MySQL 运行 SQL 文件时出现“check the manual that”的解决方法

MySQL 运行 SQL 文件时出现“check the manual that”的解决方法

MySQL 运行 SQL 文件时出现“check the manual that”的解决方法

MySQL 运行 SQL 文件时出现“check the manual that”的解决方法

MySQL 运行 SQL 文件时出现“check the manual that”的解决方法

MySQL 运行 SQL 文件时出现“check the manual that”的解决方法

MySQL 运行 SQL 文件时出现“check the manual that”的解决方法

MySQL 运行 SQL 文件时出现“check the manual that”的解决方法

后面我使用“MySQL 的工作台 workspace8.0”,运行 SQL 文件,要是遇到的错误,会有红色下划线提示,发现:(SQL 文件的时间有问题)

MySQL 运行 SQL 文件时出现“check the manual that”的解决方法

不是 insert 语句有问题,也不是 create 创建有问题,而是时间类型有问题, 无论是 datetime 还是 time,Navicat premium 工具转储数据表的结构,时间后面都会带“(0)”!!!

MySQL 运行 SQL 文件时出现“check the manual that”的解决方法

改:

把 datetime(0) 全替换成 datetime 或 time(0)【如图所示,在 xx.sql 中,手动修改】:

MySQL 运行 SQL 文件时出现“check the manual that”的解决方法

看完了这篇文章,相信你对“MySQL 运行 SQL 文件时出现“check the manual that”的解决方法”有了一定的了解,如果想了解更多相关知识,欢迎关注丸趣 TV 行业资讯频道,感谢各位的阅读!

向 AI 问一下细节

正文完
 
丸趣
版权声明:本站原创文章,由 丸趣 2023-12-04发表,共计505字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)