导出数据库是:
cmd
C:\Program Files\MySQL\MySQL Server 5.1\bin>mysqldump -u root -p123456 -h 192.168.0.156 stats>abcd.bak
导入数据库是:
C:\Program Files\MySQL\MySQL Server 5.1\bin>mysql -uroot -p123 stats<abcd.bak
导入导出表
C:\Documents and Settings\Administrator>mysqldump -uroot -p123 bsw es_eclass_user >E:\desktop\bsw.s
C:\Documents and Settings\Administrator>mysql -uroot -p123 bsw es_eclass_user <E:\desktop\bsw.sql
标签:bsw,p123,mysql,SQL,导出,导入,uroot,MySQL,es
From: https://blog.51cto.com/u_16085348/6218424