How to import a generated mySql file '.sql' via the CLI (Command Line Interface)?
|
|
|
|
|
Question: How to import a generated mySql file '.sql' via the CLI (Command Line Interface)? Answer:Â - Open a new Terminal Window if not already in Command Line
- Type in the command below
- Linux
mysql -uusername -ppassword databasename < import.sql - MS Dos
mysql -u username -p databasename < import.sql
|