Hi Marcel,
We decided to move from SQLite in the hope of enhancing Conquest performance, especially with larger DBs.
We are using Conqeust version 1.5.0e
First, we tried Mysql 8.0.41 with legacy authentication.
We got a bunch of sql errors:
Enabling Debug in Conquest added more info, basically that its unable to add to DB and that "Mysql server has gone away."
20250328 10:35:30 ***SQL: INSERT INTO DICOMImages (SOPInstanc, SOPClassUI, ImageNumbe, ImageDate, ImageTime, AcqDate, AcqTime, AcqNumber, SliceLocat, SamplesPer, PhotoMetri, QRows, QColumns, BitsStored, ImageType, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName) VALUES ('1.3.12.2.1107.5.1.7.168424.30000025032808523205400000613', '1.2.840.10008.5.1.4.1.1.2', '82', '20250328', '093731.373000', '20250328', '093731.373000', '301', '-1182.943', '1', 'MONOCHROME2', '1134', '512', '16', 'ORIGINAL\\PRIMARY\\AXIAL\\CT_SOM5 MPR', 'UCI-CT-', '1.3.12.2.1107.5.1.7.168424.30000025032808523205400000528', 1743183328, 'Images\\20250328\\UCI-CT-\\e37bce77-8f23-4b\\8\\1.3.12.2.1107.5.1.7.168424.30000025032808523205400000613.dcm', 'MAG0')
20250328 10:35:30 ***Error: MySQL server has gone away
20250328 10:35:30 ***Error saving to SQL on retry: Images\20250328\UCI-CT-\e37bce77-8f23-4b\8\1.3.12.2.1107.5.1.7.168424.30000025032808523205400000613.dcm
20250328 10:35:30 ***Failed MYSQLExec : INSERT INTO DICOMImages (SOPInstanc, SOPClassUI, ImageNumbe, ImageDate, ImageTime, AcqDate, AcqTime, AcqNumber, SliceLocat, SamplesPer, PhotoMetri, QRows, QColumns, BitsStored, ImageType, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName) VALUES ('1.3.12.2.1107.5.1.7.168424.30000025032808523205400000614', '1.2.840.10008.5.1.4.1.1.2', '83', '20250328', '093731.373000', '20250328', '093731.373000', '301', '-1182.908', '1', 'MONOCHROME2', '1134', '512', '16', 'ORIGINAL\\PRIMARY\\AXIAL\\CT_SOM5 MPR', 'UCI-CT-', '1.3.12.2.1107.5.1.7.168424.30000025032808523205400000528', 1743183328, 'Images\\20250328\\UCI-CT-\\e37bce77-8f23-4b\\8\\1.3.12.2.1107.5.1.7.168424.30000025032808523205400000614.dcm', 'MAG0')
20250328 10:35:30 ***Error: MySQL server has gone away
20250328 10:35:30 ***Unable to DB.Add()
20250328 10:35:30 ***SQL: INSERT INTO DICOMImages (SOPInstanc, SOPClassUI, ImageNumbe, ImageDate, ImageTime, AcqDate, AcqTime, AcqNumber, SliceLocat, SamplesPer, PhotoMetri, QRows, QColumns, BitsStored, ImageType, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName) VALUES ('1.3.12.2.1107.5.1.7.168424.30000025032808523205400000614', '1.2.840.10008.5.1.4.1.1.2', '83', '20250328', '093731.373000', '20250328', '093731.373000', '301', '-1182.908', '1', 'MONOCHROME2', '1134', '512', '16', 'ORIGINAL\\PRIMARY\\AXIAL\\CT_SOM5 MPR', 'UCI-CT-', '1.3.12.2.1107.5.1.7.168424.30000025032808523205400000528', 1743183328, 'Images\\20250328\\UCI-CT-\\e37bce77-8f23-4b\\8\\1.3.12.2.1107.5.1.7.168424.30000025032808523205400000614.dcm', 'MAG0')
20250328 10:35:30 ***Error: MySQL server has gone away
20250328 10:35:30 ***Error saving to SQL: Images\20250328\UCI-CT-\e37bce77-8f23-4b\8\1.3.12.2.1107.5.1.7.168424.30000025032808523205400000614.dcm
20250328 10:35:30 ***Failed MYSQLExec : INSERT INTO DICOMImages (SOPInstanc, SOPClassUI, ImageNumbe, ImageDate, ImageTime, AcqDate, AcqTime, AcqNumber, SliceLocat, SamplesPer, PhotoMetri, QRows, QColumns, BitsStored, ImageType, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName) VALUES ('1.3.12.2.1107.5.1.7.168424.30000025032808523205400000614', '1.2.840.10008.5.1.4.1.1.2', '83', '20250328', '093731.373000', '20250328', '093731.373000', '301', '-1182.908', '1', 'MONOCHROME2', '1134', '512', '16', 'ORIGINAL\\PRIMARY\\AXIAL\\CT_SOM5 MPR', 'UCI-CT-', '1.3.12.2.1107.5.1.7.168424.30000025032808523205400000528', 1743183328, 'Images\\20250328\\UCI-CT-\\e37bce77-8f23-4b\\8\\1.3.12.2.1107.5.1.7.168424.30000025032808523205400000614.dcm', 'MAG0')
20250328 10:35:30 ***Error: MySQL server has gone away
20250328 10:35:30 ***Unable to DB.Add()
I have tried many suggested options, including increasing max packed size in Mysql, increasing timeouts in Mysql, pointing Conquest to 127.0.0.1 instead of localhost, etc.
The one I was not able to try on Mysql was the suggestion that the client app should first initiate a database connection before attempting to write data to db.
We decided to abandon Mysql and try Postgresql. We opted for V 9.6.24 so we can use legacy authentication.
Unfortunately, we are getting similar SQL errors.
Is there a way to fix this, e.g have Conquest initiate a db connected before starting to send a set of images, or any other trick ....?
Note that the data is eventually saved to db, but after some seconds/minutes of failure.
Thank you.
Emmanuel.