About the Lightning database

You are here:

Lightning uses an SQLite database to store your fastener data. We store the database in a single file called database.db. Storing all data in a single file makes it easy to share this file or put it on a shared network drive.

To change your database settings, go to Tools > Lightning > Database management.

Lightning database management

Database location

We support two ways of setting the path to the database file:

  1. Select a folder:
    1. The default folder is C:\Users\<your name>\AppData\Roaming\CAD Booster\Lightning
  2. Read the folder path from the Registry:
    1. We read out the Registry key HKEY_Current_User\Software\CAD Booster\Lightning\Database location
    2. We create this key in your Registry when you install Lightning. It contains an empty string by default.
    3. To get this to work, you need to add a folder path to this key.
    4. We always look for a file called database.db, other file names are not supported.

Lightning database management window

How to reload all database data

If you, for some reason, want Lightning to refresh its data, click Reload data. We’ll then find the database, read all data and load it into Lightning. This all goes automatically, there are no further manual steps.