Check out example codes for "how to import database in mysql command line in ubuntu dbeaver". It will help you in understanding the concepts better.

Code Example 1

//go to the DB-Connection, create a new DB
//Right-Click on this DB, Choose Tools > Import. Than choose the .sql-file.

Learn ReactJs, React Native from akashmittal.com