guozhichao

导出某个数据库:

mysqldump 数据库名 > test.sql -u root -p

导入sql文件到数据库:

mysql -u 数据库用户名 -p 数据库名 < test.sql

 

分类:

技术点:

相关文章: