OS: WindowsProduct edition: inSync On-Premise
Overview
This article provides steps required to connect to MySQL database.
Connect to inSyncConfigDB
Stop inSync server services and on an elevated command prompt, navigate to the following directory:
C:\Program Files\Druva\inSync Server\embeddedDB\bin
Run the following command to start the inSyncConfigDBServer process:
inSyncConfigDBServer.exe --defaults-file="c:\Program Files\Druva\inSync Server\embeddedDB\inSyncDB.ini" --basedir="c:\Program Files\Druva\inSync Server\embeddedDB"
In a new elevated command prompt navigate to the following directory.
C:\Program Files\Druva\inSync Server\embeddedDB\bin
Connect to inSyncConfigDB database using the following command:
inSyncConfigDBClient -h 127.0.0.1 -P 6075 -uroot -pinSyncConfigDB inSyncConfigDB
On the Task Manager, verify if inSyncConfigDBClient.exe process is running.
Once connected to the database, run the below commands:
~ show databases;
(shows all the database)
~ use insyncconfigdb;
(selectsinsyncconfigdb
amongst the list of databases)
After completing the ConfigDB operation, exit MySQL using the exit command.
Close the command prompt to close inSyncConfigDBClient.
On the Task Manager, kill inSyncConfigDBServer.exe from the list of processes before you start inSync services.