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

AWS Lambda – Function in Go

Install DNF in RHEL/CentOS 7

AWS Lambda – Function in Java