LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting to MySQL server without ODBC?

Hi,

I have a really simple question, is it possible to connect to a MySQL server without using ODBC? We have purchased the SQL toolkit, and I could not find an answer (or rather, a solution) to this in the documentations.


Thank you very much.
Bye.
0 Kudos
Message 1 of 2
(3,745 Views)
In your MySQL directory in the "examples" subdirectory is some C examples how to use it. There is also a .dll you can use to connect to MySQL.

ODBC Work the best thou, I tried the rest.

Download the driver http://dev.mysql.com/downloads/connector/odbc/3.51.html
and then use the CVI toolkit. Work really easy.

To build the connection string see my refrence page.

http://www.jattie.co.uk/software/cvi/help/sqlstring.htm

Best regards

Jattie
Jattie van der Linde
Engineering Manager, Software & Automation
TEL Magnetic Solutions Ltd
0 Kudos
Message 2 of 2
(3,727 Views)