![]() Once connected you can write SQL queries or view existing catalog. Therefore, you can either leave these values blank or use some arbitrary string. SQLite does not require any user id/password. Select the newly created DNS in the previous step and click OK. If the database file is not found, the driver will create a new blank database.įinally, create a new connecting in WinSQL. To create a new database file, specify a file name that does not exist on your hard drive.The next screen allows you to specify a name for this DNS and the path for your database.Select SQLite3 ODBC Driver from the list and click Finish.This brings up the "Create New Data Source" window ![]() Click Open ODBC Manager under the File menu to bring up the ODBC manager. The next step is to create an ODBC DSN referring to c:\temp\places.db file. db extension is the default extension for SQLite and is a bit easier to work with. Rename places.sqlite to places.db in this temp folder.I recommend you copy places.sqlite to another folder, for example c:\temp\places.sqlite You will see a handful of files with extension.Replace XXXXX with the actual values that appear on your machine. Vists, 2008 and Windows 7 - C:\Users\YourUserName\AppData\Roaming\\Mozilla\Firefox\Profiles\fault.XP, 2002 & 2003 - C:\Documents and Settings\YourUserName\Application Data\Mozilla\Firefox\Profiles\fault.Using Windows Explorer navigate to the following location on your hard disk.Skip this step if you are not planning to use Firefox's database for this exercise. We strongly discourage using the database in its default location. Since Firefox is a production application, it is recommended you make a backup of the database file and then view its contents. Click the Drivers tab and ensure you see the 3 drivers for SQLite. ini file from the examples directory to /.odbc.ini and make sure the right path and filename is used for your installation. This opens the ODBC manager on your machine.Click Open ODBC Manager under the File menu.The following steps confirm the driver is installed and is correctly registered. This opens the following screen.Ĭlick Next all the way to accept default values.Īside from installing the necessary files, this will also register 3 ODBC drivers on your machine. Since WinSQL is a 32-bit application, it will only work with a 32-bit driver.Īfter downloading the file, double click it to run the installer. IMPORTANT: Download this file even if you are running a 64-bit version of Windows. Download sqliteodbc.exe file from this website. The first step is to download an ODBC driver for SQLite, which is available at. For demonstration purposes we will take an existing database that is used by Mozilla Firefox and view its data. Once such popular application is Mozilla Firefox, which stores user preferences and browser history in a relational database.įollowing white paper demonstrate how to download SQLite's ODBC and using it with WinSQL. SQLite is a popular embedded database that is used in many off-the-shelf applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |