1. test.sql
create table lenovo (id int, name varchar(255));
insert into lenovo values(11, 'haha');
insert into lenovo values(12, 'h');
2. 执行命令
time mysql -hlocalhost -uroot -ppassword -Dhaha < test.sql
1. test.sql
create table lenovo (id int, name varchar(255));
insert into lenovo values(11, 'haha');
insert into lenovo values(12, 'h');
time mysql -hlocalhost -uroot -ppassword -Dhaha < test.sql