ubuntu import database code example
Example 1: import database using cmd ubuntu
mysql -u username -p database_name < /path/to/file.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.