为什么我不能将db导入我的SQL? [英] Why I cant import db to my SQL?

查看:89
本文介绍了为什么我不能将db导入我的SQL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

i创建一个包含33个表和一些外键的数据库并导出它。

i不能再将它导入mysql。为什么?

i从mysql获得此错误:

访问



我尝试了什么:



i不知道该怎么做。

有人帮忙吗?!

hello,
i create a database with 33 table and some foreign key and i export it.
i cant import it to mysql again.why?
i got this error from mysql :
visit

What I have tried:

i dont know what should i do.
anyone help?!

推荐答案

查看你的图片 - 不要再这样做了:复制并粘贴文字,这样更容易我们一起工作 - 看起来你已经加载了一堆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


这篇关于为什么我不能将db导入我的SQL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆