开发者

importing a large sql file into mysql

开发者 https://www.devze.com 2023-02-26 05:20 出处:网络
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

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

精彩评论

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