...
This article describes how to move the local installed MariaDB of the custo diagnostic database to another local location on the same server computer.
Moving the MariaDB on a Windows Computer
- Stop the Windows Service "Apache Tomcat 8.0 diagserver"
- Stop the Windows Service "diagserverdb"
- Create a folder in the new destination for the MariaDB database (Example: "D:\mariadb"). Do not use Network Dives or UNC Path for the new location!
- Move all files from the folder "C:\diagserverdata\mariadb" (default location) to the new location folder
Edit the file "my.ini" in the new location folder. You can use Notepad.exe.
Change the setting "datadir" below "[mysqld]" to the new location folder:Code Block title my.ini [mysqld] datadir='D:\mariadb'
Dont Don't forget to save the "my.ini" file!
Change the Windows Service for the MariaDB service.
You have to open a cmd CMD as an administrator and with extended elevated rights.
Insert this command and change the location in of the "--defaults-file" option to your new location folder:Code Block title Command sc config diagserverdb binpath="\"C:\Program Files\custo diagnostic server\mariadb\bin\mysqld.exe\" \"--defaults-file=D:\mariadb\my.ini\" \"diagserverdb\""
Run the command.
If the command line returnes "[SC] ChangeServiceConfig SUCCESS" all things are fine. Otherwise you have to search for errors.
- Start the service "diagserverdb"
- Start the service "Apache Tomcat 8.0 diagserver"
Moving the
...
MariaDB on a macOS based Computer
- Install custo diagnostic server on the new Computer. The diagserver service will be started automatically.
- When the diagserver service is running fine please stop the diagserver service (at the earliest 2 minutes after starting).
- Open the path "
- Install of the new System diag Server on MAC
- Start the diagserver Service
- When the Service is running Stop the Service after 2 min
- Stop the Service, open the pas: /Library/Application Support/custo diagnosticserver/" and delete or rename the folder the folder "database" and the evaluation folder.
- On of the old System , Stop stop the diagserver Serviceservice.
- After the diagserver service is stopped open the path "/Library/Application Support/custo diagnosticserver/" and copy or move after 2 min copy the the folder "database" and the evaluation folder in to the new system see point 4computer.
- Start the diagserver Serviceservice on the new computer.
- Remove or uninstall the custo diagnostic server from the old computer.