robert_hly

踩坑填坑记录...

导航

mysql 导入数据库文件到指定数据库

i:\mysql\bin>mysql  -u  用户名 -p  数据库名  <   i:/test.sql   

// (source "c:\adsense.sql" )

例如: i:\MySQL\bin>mysql -u root -p test < I:/test.sql

Enter password: ****//密码

在test数据库中导入test.sql数据库文件

 

posted on 2016-11-20 00:07  robert_hly  阅读(6670)  评论(0编辑  收藏  举报