Wednesday, August 31, 2016

Ubuntu Mysql Import file.sql into database FROM cmd

$ mysql   -u  root   -p
then enter password and
mysql> use DATABASE_NAME;
mysql> source path/to/file.sql;

No comments:

Post a Comment