开发者

importing a large sql file into mysql

can u tell me how to开发者_开发百科 import a 30mb of sql file in mysql.I am using ubuntu.


You have to run the following command

mysql -u <user> -p<password> dbname < filename.sql

Another alternate is also a command

log in to mysql using mysql -u <user> -p

mysql > use db_name;
mysql > source filename.sql;


Use BigDump.php

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜