Wishlist 0 ¥0.00

heidisql导入sql文件

1.打开HeidiSQL,新建一个数据库,数据库名可以和sql文件名称不一致。比如我等下要导入的是“student.sql”,这里新建一个t1数据库。具体步骤:
右键localhost->Create new->Database->输入名称->确定
在这里插入图片描述
没看到建好的数据库可以刷新一下,在空白处右键->Refresh或者直接按F5。

2.选中新建好的数据库,单击左上角File->Load SQL file…导入sql文件后点击打开。
在这里插入图片描述

在这里插入图片描述
3.可以看到sql文件已被导入,点击上面的蓝色三角或按F9运行之后就搞定啦!没有看到表可以刷新一下。
在这里插入图片描述

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.