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

Java : Variables Declaring

SQL Self JOIN