Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 12:15:44 +0000



Post From: Connecting to external MySQL database server

[2022-04-20 15:58:17]
enemyspy - Posts: 304
I don't have the code accessible any more as I moved all my development to Linux and not that active with sc software any more. Sc is amazing though still like it.

So first go into the source code files that sc provides. The use a study that is named something like "subgraph to file". I don't remember exactly what it is called but dig for it and study it. That will give you a good structure for how to interact with and output the subgraphs.

Next you will modify the study to output to an sql database instead of a text file.

I used the open source c++ otl library to make the sql connection and commit the data. You can find code examples of how to do this on their website:

http://otl.sourceforge.net/