How can I import a database with mysql from terminal?
I cannot find the exact syntax.
If you are using sakila-db from mysql website, It's very easy on the Linux platform just follow the below-mentioned steps, After downloading the zip file of sakila-db, extract it. Now you will have two files, one is sakila-schema.sql and the other one is sakila-data.sql.
Please take care that extracted files are present in home directory.