Views:
Question:
How can we uninstall the DocuWare Internal Database V1 or V2?
 
Solution:
Both the Internal Database V1 and V2 can be uninstalled by removing the Windows service and then deleting the installation directory. Please refer to the following sections to properly uninstall the DocuWare Internal Database V1 or V2;
***Note: It is vital to create a backup of your current internal database if you have any plans of restoring it later. Take a MySQL backup of all DocuWare databases before beginning this process.***
 
Internal Database V1:

Note: Before proceeding to the next steps, ensure the service has been stopped. Stopping the service ensures that the database process is no longer using the database files before the service and installation directories are removed.

To stop the applicable service, use the following command in Command Prompt as an administrator:

sc stop DWMySQL

In order to confirm the service has stopped running, run the following command:


sc query DWMySQL

This command should result in an expected service status as: 

STATE : 1 STOPPED

It is also recommended to confirm that no related MySQL processes remain active before deleting database files. This can be checked by executing the following command:

tasklist | findstr /i "mysqld"

 
1. Run the following command with elevated rights Command Prompt: 

sc delete DWMySQL

2. Locate and check the datadir parameter in the my.ini file located at C:\Program Files (x86)\DocuWare\Internal Database\my.ini to ensure that the data is not located in another directory. Once completed, delete the files in that directory.

3. Delete the directory C:\Program Files (x86)\DocuWare\Internal Database
 
Internal Database V2:

Note: Before proceeding to the next steps, ensure the service has been stopped. Stopping the service ensures that the database process is no longer using the database files before the service and installation directories are removed.


To stop the applicable service, use the following command in Command Prompt as an administrator:

sc stop DWMySQL2

In order to confirm the service has stopped running, run the following command:

sc query DWMySQL2

This command should result in an expected service status as: 

STATE : 1 STOPPED

It is also recommended to confirm that no related MySQL processes remain active before deleting database files. This can be checked by running the following command:

tasklist | findstr /i "mysqld"

 

1. Run the following command from an elevated Command Prompt:

sc delete DWMySQL2

NOTE: Be aware that the service may remain marked for deletion until open Services or management windows are closed, or until Windows is restarted.

 
1. Run the following command with elevated rights Command Prompt: sc delete DWMySQL2

2. Locate and check the datadir parameter in the my.ini file located at C:\Program Files (x86)\DocuWare\Internal Database V2\my.ini to ensure that the data itself is not located in another directory, then delete the files in that directory.

3. Delete the directory C:\Program Files (x86)\DocuWare\Internal Database V2
 
KBA is applicable for On-premise Organizations ONLY!