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 分享