For SQLite

The following arguments are used to connect to an SQLite database:

Table 2. 

Argument name Description Required
DB_NAME Name of the database. This should be the name of the database file without the ".db" extension. However when opening a database, if a file named after the DB_NAME value exists then it is used (so beware, for example if DB_NAME is set to "mydb" and a file named "mydb" exists but is not an SQLite database, then an error will occur) Yes
DB_DIR The directory where the database file is; if not specified, the current working directory is used. No


Also refer to the SQLite's provider's limitations.