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

发布时间:2021-05-12 09:39:24 作者:小新
来源:亿速云 阅读:891

小编给大家分享一下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”的解决方法”有了一定的了解,如果想了解更多相关知识,欢迎关注亿速云行业资讯频道,感谢各位的阅读!

推荐阅读:
  1. Windows2012时间同步
  2. linux中使用zip解压出现乱码怎么办

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

mysql sql

上一篇:php如何屏蔽程序错误

下一篇:php无法输出gif的解决方法

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》