
The database engine will read your SQL script and recreate your database accordingly. The SQL script is NOT the database, it is just the steps to create it. Then connect DBeaver (or whatever client : mySQL Workbench, Datagrip, even command line.) to this database and execute the script as shown above. Then you will have to reinstall the same database engine (so mySQL in your case I guess) on the target computer. As I understand you have already done it. to put all SQL instructions to create it into one file. So to transfer your database from one computer (let's say the "source") to another (let's say the "target"), you need first to "dump" it i.e. And it is generally true : SQL script are very similar from one database system to another, but not exactly identical. For example, mySQL CREATE TABLE would mention something like ENGINE=InnoDB. A few more imported tables later, and our whole database was built Sequel PRO continued to be incredibly useful, even after the schemas were initialized. csv files, and after a couple of formatting questions, my entire produce table was imported. If you have an SQL script to create mySQL database, it will not run fine in a SQLite or any other database. Regardless, you simply need to export your spreadsheet as a. Steps to follow to create a database from a.
SEQUEL PRO SQL SERVER INSTALL
Just in case, DBeaver also exists on Mac so if you need to use several OS it might be convenient to install DBeaver on all your computers and so keep the same tool everywhere.

Then click on "SQL Editor" in the top bar, and click on "import SQL script": A new empty SQL editor opens, linked to your database.

Then, in the database navigator on the left, right-click on your database and select "SQL editor". If you wish to execute the SQL script, in DBeaver, you first have to create the connection to the target database. So normally, you can open it with Notepad or any text editor such as Geany, Atom or Notepad++.

sql file is just plain text file with a different extension.
