LINUX How to import sql database data from file

Type the following command to import sql data file:
$ mysql -u username -pxxxxxxx -h localhost DATA-BASE-NAME < data.sql 

Comments

Popular posts from this blog

LINUX Move and copy files using SSH

PHP Predefined Variables

Java : Variables Declaring