mysql中利用命令行快速导入sql文件

格式:
C:\Documents and Settings\eelly>mysql -u账号 -p密码 --default-character-set=utf8 数据库<d:\t\mall_ecm_order_extm.sql

示例:
C:\Documents and Settings\eelly>mysql -uroot -p --default-character-set=utf8 mall<d:\t\mall_ecm_order_extm.sql
 

猜你喜欢

转载自itxiaohu.iteye.com/blog/1709129