Sometimes we encounter an error accessing the Scriptcase database itself, as shown in the image below:

ADONewConnection: Unable to load database driver

![Screenshot - 16_08_2016 , 00_58_38.jpg](https://forum-sc-nacional-upload.s3.dualstack.us-east-1.amazonaws.com/original/2X/4/436f2d1bd061c4cb6f992cc2b46d4cd7bff4f9b0.jpeg)

It happens when Scriptcase, for some reason, loses the path to its database **(nm\_scriptcase.db)**.

To correct this error, just follow the steps below:

**1 -** Go to the scriptcase directorye.g:**C:\Program Files\NetMake\v9-php82\wwwroot\scriptcase**and change the name of the file [**config\_.php**](http://config_.php/) to [**config.php**](http://config.php/)

![](https://desk.zoho.com/DocsDisplay?zgId=716875472&mode=inline&blockId=lfc287882e7a7dd124b9fb26c320123dd4f51)

**2 -** After changing to [**config.php**,](http://config.php%2C/) access this file through the browser, with the folder name already changed, for example: **127.0.0.1:8093/scriptcase/**[**config.php.**](http://config.php./)

![](https://help.scriptcase.net/galleryDocuments/edbsnc670a8c369fce1c7c3baa0c89d31ac00d667d32944d91bc759ea2c6fbbadee6368be5b006e9ec7dff95b6b7ff69db248?inline=true)

**3 -** In the **Server field**, paste the full path to the scriptcase database, for example: **C:/Program Files/NetMake/v9-php82/wwwroot/scriptcase/devel/conf/scriptcase/nm\_scriptcase.db**

- Also, In **DBMS Field**, select **SQLite PDO**

![](https://help.scriptcase.net/galleryDocuments/edbsnf57b8f1be88a1197405a15532b717a73a313829cb2c97e906fb6d56c5db6f23350b0865f8921d1d083d50e8e3d1fa39a?inline=true)

**4 -** Click save to finish

![](https://help.scriptcase.net/galleryDocuments/edbsn582587617bc4082546366df4097018886c9cf92776173b560ebd834fc4d51cda4ee13303ddeca1cd64fec0af62d33dd6?inline=true)