Best way to access a local mySQL database within SystemModeler

Hi There,

I was just wondering if anyone knew what the best way to connect to a local mySQL database is in SystemModeler? I would like to read data from a database to set up a model as well as write results.

Any advice appreciated.

That’s brilliant, thanks Sergio.

Is there any way to do it as a single block within SystemModeler. I was thinking that it might be a great first component for a library project.

Regards,
Sean.