mysql import database in ubuntu terminal code example
Example 1: import mysql database command line linux
mysql -u<user_name> -puser_password> <database_name>
source /path/db.sql
Example 2: how to import database in mysql command line in ubuntu dbeaver
//go to the DB-Connection, create a new DB
//Right-Click on this DB, Choose Tools > Import. Than choose the .sql-file.