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

Install DNF in RHEL/CentOS 7

Java : Variables Declaring

PostgreSQL - String Function