Decoding BLOB Data Stored as Binary in MySQL (CSENTRY Application)

Discussions about CSEntry
Post Reply
bioams
Posts: 2
Joined: December 2nd, 2024, 1:32 am

Decoding BLOB Data Stored as Binary in MySQL (CSENTRY Application)

Post by bioams »

Hi all,

I have a question regarding decoding a BLOB field (named "questionnaire") that is stored as binary data in a MySQL database. This BLOB data is created during the synchronization process in the CSENTRY application.

Can anyone guide me on how to decode this binary BLOB data or explain the process involved?

Thanks in advance!
justinlakier
Posts: 237
Joined: November 21st, 2022, 4:41 pm

Re: Decoding BLOB Data Stored as Binary in MySQL (CSENTRY Application)

Post by justinlakier »

Hello,

See this forum post on BLOB cases in the questionnaire column (viewtopic.php?t=5195) for details on how to view a case using MySQL Workbench with a query. See this forum post on syncing with BLOBs (viewtopic.php?t=2389), particularly Greg's link at the end with the steps on how to break out the cases to MySQL tables. These should help you decode/break out your BLOBs.

Hope this helps,
Justin
bioams
Posts: 2
Joined: December 2nd, 2024, 1:32 am

Re: Decoding BLOB Data Stored as Binary in MySQL (CSENTRY Application)

Post by bioams »

Thank You , Justin
htuser
Posts: 641
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: Decoding BLOB Data Stored as Binary in MySQL (CSENTRY Application)

Post by htuser »

@Justin. When parsing data to MySQL relational schema, there's an issue: viewtopic.php?p=18147#p18147
I think the Developer team should give a way to choose between storing data as longtext or originally as it is on device (sqlite).
Storing data as longtext is an issue mainly when you need to connect MySQL to other software for performing analysis. The software recognize all data as string and this require a lot of work to reformat data structures in the correct format...
G.VOLNY, a CSProuser from Haiti, since 2004
aaronw
Posts: 571
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Decoding BLOB Data Stored as Binary in MySQL (CSENTRY Application)

Post by aaronw »

@bioams

CSWeb allows the blobs to be processed under the settings tab. You can specify a database where the blob will be normallized and stored. This is typically used to display reports. See the data settings helps.

https://www.csprousers.org/help/CSWeb/d ... tings.html

Alternatively, if you want to work with the data, I would recommend downloading the data as a csdb and working with it in CSPro. Additionally, you can export it to several formats and go from there.
Post Reply