Import slq file via terminal

mysql -u username -p my_database < sqldatabase.sql