|
|
Question : mysql connection
|
|
hi i use mysql with visual c++.net and i install the odbc driver 5.1 as a connector .. should i install odbc connector ( driver ) on each decktop to access to this database..???? because it work only when i install it in each desktop.. is there any different solution to deal between mysql and visual c++.net??? thanks
|
Answer : mysql connection
|
|
You can use direct access to the MySQL library (APIs), it works good. (libmysql.dll and for comiling libmysql.lib) In this way you won't need to install the ODBC connector on each computer, that even slow down your queries.
I've developed my own MFC class to handle easily the C APIs functions, but you can have same good info on this link: http://www.geocities.com/jahan.geo/mysql_c_by_example.html
|
|
|
|