ODBC Driver for SQLite download page:: Products. ODBC Driver for SQLite 3.1 DEB x64 Get Trial Download macOS ODBC Driver for SQLite 3.1. SQLite 3.23.1 for Mac is available as a free download on our software library. The actual developer of this free Mac application is SQLite. The program is included in Developer Tools.
If you need a sample database to run some quick tests in SQLite, here are a couple of options.
1. The Chinook Database
The Chinook database was created as an alternative to the Northwind database. It represents a digital media store, including tables for artists, albums, media tracks, invoices and customers.
The Chinook database is available on GitHub. It’s available for various DBMSs including MySQL, SQL Server, SQL Server Compact, PostgreSQL, Oracle, DB2, and of course, SQLite.
Install the Chinook Database
You can install the Chinook database in SQLite by running the SQL script available on GitHub. It’s quite a large script, so you might find it easier to run it from a file.
First, save the Chinook_Sqlite.sql script to a folder/directory on your computer. That’s a direct link to the script on GitHub.
Now create a database called Chinook. You can do this by connecting to SQLite with the following command:
Now you can run the script. To run it from the file, use the following command:
This assumes that you’re in the same directory as the file, and that the file is called Chinook_Sqlite.sql. If not, you’ll need to use the full path to the file, along with whatever you’ve called the file.
Running this script creates the database tables and populates them with data.
![Sqlite3 Mac Download Sqlite3 Mac Download](https://likecy.oss-cn-beijing.aliyuncs.com/blog/20191231194220.png)
Once the script has finished running, you can verify that it created the database by selecting some data from a table. For example, you could run the following:
Result:
2. The Northwind Database
You can do exactly the same thing with the Northwind database. In fact, the Chinook database was created as a newer alternative to the Northwind database.
The Northwind database has been available for SQL Server and Microsoft Access for years. It was provided as a tutorial database for managing small business customers, orders, inventory, purchasing, suppliers, shipping, and employees.
Github has a version of the Microsoft Access 2000 Northwind sample database, re-engineered for SQLite3.
So, similar to the previous example, save the SQL script available on GitHub as Northwind_Sqlite.sql.
Now connect to SQLite and create a database called Northwind:
Now you can run the script:
This will create the tables and populate them, etc. You’ll probably see the data flash by as the script as it’s running.
In any case, once it’s finished running, you can run a quick check by selecting some data. For example:
Result:
Summary: in this tutorial, you will learn step by step on how to download and use the SQLite tools to your computer.
Download SQLite tools
To download SQLite, you open the download page of the SQlite official website.
- First, go to the https://www.sqlite.org website.
- Second, open the download page https://www.sqlite.org/download.html
SQLite provides various tools for working across platforms e.g., Windows, Linux, and Mac. You need to select an appropriate version to download.
For example, to work with SQLite on Windows, you download the command-line shell program as shown in the screenshot below.
The downloaded file is in the ZIP format and its size is quite small.
Sqlite Browser Mac Download
Run SQLite tools
Installing SQLite is simple and straightforward.
- First, create a new folder e.g.,
C:sqlite
. - Second, extract the content of the file that you downloaded in the previous section to the
C:sqlite
folder. You should see three programs in the C:sqlite folder as shown below:
Sqlite For Mac Download
First, open the command line window:
and navigate to the C:sqlite folder.
Second, type
sqlite3
and press enter, you should see the following output:Third, you can type the .help command from the
sqlite>
prompt to see all available commands in sqlite3.Fourth, to quit the sqlite>, you use
.quit
command as follows:Install SQLite GUI tool
The sqlite3 shell is excellent…
However, sometimes, you may want to work with the SQLite databases using an intuitive GUI tool.
There are many GUI tools for managing SQLite databases available ranging from freeware to commercial licenses.
SQLiteStudio
The SQLiteStudio tool is a free GUI tool for managing SQLite databases. It is free, portable, intuitive, and cross-platform. SQLite tool also provides some of the most important features to work with SQLite databases such as importing, exporting data in various formats including CSV, XML, and JSON.
You can download the SQLiteStudio installer or its portable version by visiting the download page. Then, you can extract (or install) the download file to a folder e.g., C:sqlitegui and launch it.
The following picture illustrates how to launch the SQLiteStudio:
Other SQLite GUI tools
Besides the SQLite Studio, you can use the following free SQLite GUI tools:
- DBeaver is another free multi-platform database tool. It supports all popular major relational database systems MySQL, PostgreSQL, Oracle, DB2, SQL Server, Sybase.. including SQLite.
- DB Browser for SQLite – is an open-source tool to manage database files compatible with SQLite.
In this tutorial, you have learned how to download and install SQLite tools on your computer. Now, you should be ready to work with SQLite. If you have any issues with these above steps, feel free to send us an email to get help.