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

MongoDB - Query Document

SQL - Indexes

PostgreSQL - Numeric Function