Skip navigation links

MySQL Forums :: Connector/ODBC :: Correct connectionstring for ODBC 5.2.5


Advanced Search

Correct connectionstring for ODBC 5.2.5
Posted by: Ali Alami ()
Date: July 01, 2013 05:33PM

Hello,

I'm using ODBC connectors for a very long time.

- For ODBC 3.51 I'm using the following connection string:

("Driver={MySQL ODBC 3.51 Driver};Server=localhost;Port=3306;Database=mydatabase;User=root;Password=mypass;Option=3;")


- For ODBC 5.1 I'm using the following connection string:

("Driver={MySQL ODBC 5.1 Driver};Server=localhost;Port=3306;Database=mydatabase;User=root;Password=mypass;Option=3;")


- For ODBC 5.2.4 I'm using the following connection string:

("Driver={MySQL ODBC 5.2a Driver};Server=localhost;Port=3306;Database=mydatabase;User=root;Password=mypass;Option=3;")


- But for the latest version 5.2.5, When I use the following connection:

("Driver={MySQL ODBC 5.2a Driver};Server=localhost;Port=3306;Database=mydatabase;User=root;Password=mypass;Option=3;")

An exception is throw saying that: ERROR [IM002] data source not found and driver name not specified


So please can you tell me the correct connectionstring to use with this latest version (5.2.5). I'm using the 32bits version of this driver

Thanks

Options: ReplyQuote


Subject Written By Posted
Correct connectionstring for ODBC 5.2.5 Ali Alami 07/01/2013 05:33PM
Re: Correct connectionstring for ODBC 5.2.5 Hemant Dangi 07/02/2013 04:31AM
Re: Correct connectionstring for ODBC 5.2.5 Ali Alami 07/03/2013 03:59AM
Re: Correct connectionstring for ODBC 5.2.5 Hamid Bahrami 08/31/2013 07:22AM
Re: Correct connectionstring for ODBC 5.2.5 Hemant Dangi 09/16/2013 06:59AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.