MYSQL在linux上导入

/home/jis # mysql -uroot -psubw

mysql> create datebase test123;
Query OK, 1 row affected (0.03 sec)
mysql> use test123;
Datebase changed
mysql> set names utf8;
Query OK, 0 rows affected (0.00 sec)
mysql> exit;

/home/jis # mysql -uroot -pusbw test123 < test.sql
......

你可能感兴趣的:(linux)