MySQL运行SQL文件时(全面,改成time):check the manual that corresponds to your MySQL server version for the righ[通俗易懂]

MySQL运行SQL文件时(全面,改成time):check the manual that corresponds to your MySQL server version for the righ[通俗易懂]参考:Mysql错误:checkthemanualthatcorrespondstoyourMySQLserverversionfortherightsyntax【加`符号、修改有冲突的字段名】checkthemanualthatcorrespondstoyourMySQLserverversionfortherightsyntax错…

大家好,又见面了,我是你们的朋友全栈君。

参考:

Mysql错误:check the manual that corresponds to your MySQL server version for the right syntax【加 `符号、修改有冲突的字段名】

check the manual that corresponds to your MySQL server version for the right syntax错误【字段名用了关键字】

check the manual that corresponds to your MySQL server version for the right syntax to use near【where前多加了逗号】

 

Mysql异常check the manual that corresponds to your MySQL server version for the right syntax总结【sql是否有中文字符 、是否与关键字冲突、是否含特殊字符、是否正确分行】

这些文章里的答案都没有解决我的问题!!!

MySQL运行SQL文件时(全面,改成time):check the manual that corresponds to your MySQL server version for the righ[通俗易懂]MySQL运行SQL文件时(全面,改成time):check the manual that corresponds to your MySQL server version for the righ[通俗易懂]MySQL运行SQL文件时(全面,改成time):check the manual that corresponds to your MySQL server version for the righ[通俗易懂]MySQL运行SQL文件时(全面,改成time):check the manual that corresponds to your MySQL server version for the righ[通俗易懂]MySQL运行SQL文件时(全面,改成time):check the manual that corresponds to your MySQL server version for the righ[通俗易懂]MySQL运行SQL文件时(全面,改成time):check the manual that corresponds to your MySQL server version for the righ[通俗易懂]MySQL运行SQL文件时(全面,改成time):check the manual that corresponds to your MySQL server version for the righ[通俗易懂]MySQL运行SQL文件时(全面,改成time):check the manual that corresponds to your MySQL server version for the righ[通俗易懂]

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

MySQL运行SQL文件时(全面,改成time):check the manual that corresponds to your MySQL server version for the righ[通俗易懂]

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

MySQL运行SQL文件时(全面,改成time):check the manual that corresponds to your MySQL server version for the righ[通俗易懂]

 改:

把datetime(0)全替换成datetime或time(0)【如图所示,在xx.sql中,手动修改】:MySQL运行SQL文件时(全面,改成time):check the manual that corresponds to your MySQL server version for the righ[通俗易懂]

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/139978.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号