Running Machine: Windows 11
I have installed the Orthanc successfully and it starts perfectly fine as a service on HTTP port 8042.
I modified my mysql.json file as follows and added the python script for the custom functions:
{
/**
- Configuration to use MySQL or MariaDB instead of the default
- SQLite back-end of Orthanc. You will have to install the
- “orthanc-mysql” package to take advantage of this feature.
**/
“MySQL” : {
// Enable the use of MySQL to store the Orthanc index?
“EnableIndex” : true,
// Enable the use of MySQL to store the DICOM files?
“EnableStorage” : true,
// Parameters of the MySQL database
“Host” : “localhost”,
“Port” : 3306,
“Database” : “”,
“Username” : “”,
“Password” : “”,
// Optional: Disable the locking of the MySQL database
“Lock” : false
}
}
And yes, I have also added the plugin in the “Plugins” directory and added the path of the same in the orthanc.json.
When I restarted my service then Orthanc fails to restart the service and we get the following error on the log file:
But when I run the command “Orthanc.exe ./Configuration” on the local machine, then the Orthanc runs perfectly fine and I get the following logs:
Could you please help with the same. I need to start the Orthanc as a service with modified database configurations.
Thank you so much in advance!