Home >Database >Mysql Tutorial >如何批量导入sql文件到mysql

如何批量导入sql文件到mysql

WBOY
WBOYOriginal
2016-06-06 09:41:221131browse

mysqlsql

因为要恢复网站备份的数据,结果发现有很多sql文件,一个一个导入太麻烦了,phpmyadmin,navicate for mysql, mysql 的 source 命令一次就只能导入一个sql文件,网上有说建一个sql文件,在里面把要导入的sql文件名写进去再用source 命令导入,经测试没用的;有没有有其他方法

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn