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运行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教程

© 版权声明
THE END
喜欢就支持一下吧
点赞7 分享