Documentation :: Importing SQL File Using MySQL Client

Under Development

Type Password at a Prompt

mysql -h 127.0.0.1 -u db_user -p db_name < import_file.sql

Include Password in Command

mysql -h 127.0.0.1 -u db_user -psecretpassword db_name < import_file.sql