且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为什么我不能将db导入我的SQL?

更新时间:2022-10-15 16:33:07

查看你的图片 - 不要再这样做了:复制并粘贴文字,这样更容易我们一起工作 - 看起来你已经加载了一堆HTML并试图说服MySQL它是一个SQL查询。它不是,它不能作为一个。

检查你如何导出它,然后检查你要导入的文件:它应该是 CREATE TABLE 等SQL代码,不是< div class =error> ... HTML
Looking at your image - and don't do that again: copy and paste the text instead, it's much easier for us to work with - it looks like you have loaded a pile of HTML and are trying to convince MySQL that it's a SQL query. It's not, and it won't work as one.
Check how you export it, and then check the file you are trying to import: It should be full of CREATE TABLE and suchlike SQL code, not <div class="error">... HTML