← Back to team overview

maria-discuss team mailing list archive

New Question: Connecting issues

 

Hello,

A new question has been asked in "MariaDB ODBC Driver" by openiduser41:
--------------------------------
Hi

I have en application written in Visual Studio 2008 where I use CDatabase to connect to MariaDB via ODBC.
When I try and connect I get an exception with the text "Invalid information type"

I have tried alot of ODBC connect strings for instance:
DRIVER={MariaDB ODBC 1.0 Driver};SERVER=localhost;DATABASE=mydb;UID=test;PWD=
or
DSN=mydb

When I create the DSN every think looks ok.
If I change to use {MySQL ODBC 3.51 Driver} it works fine.

Another thing is that even though I use the noOdbcDialog option, it still show an ODBC dialog.
Also if I create a new Project with database support in VS2008 and select a mariaDB DSN Visual studio crashes.

Thanks for your help.

 /Kennet
--------------------------------

To view or answer this question please visit: http://mariadb.com/kb/en/connecting-issues/