This is a migrated thread and some comments may be shown as answers.
Databinding ODBC data connection
3 Answers 52 Views
This is a migrated thread and some comments may be shown as answers.
Sivanathan
Top achievements
Rank 1
Sivanathan asked on 20 Jan 2012, 08:14 AM
Hi,

I am using telerik Test studio.I need to add mysql database as datasource.
So I created an ODBC connection.I tried givinmg several connection strings such as:
Driver={oes};Server=localhost;Database=oes;Uid=root;Pwd=scintel@123 

Can you tell me the correct connection string for this to work.

Thanks in Advance
Sivanathan B.

3 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 20 Jan 2012, 03:58 PM
Hello Sivanathan,

We don't have a code sample article specific to MySQL, however you can find many connection string samples online. Here is a good example.

Regards,
Anthony
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Newi
Top achievements
Rank 1
answered on 27 Feb 2016, 02:49 AM

install MySQL ODBC 5.1 and use

var conStr = "Driver={MySQL ODBC 5.1 Driver};Server=localhost;Database=yourdb;UID=xxx;PWD=yyy";

;-) Newi
0
Boyan Boev
Telerik team
answered on 02 Mar 2016, 12:17 PM
Hi,

Thank you for sharing your knowledge.

We really appreciate it.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Asked by
Sivanathan
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Newi
Top achievements
Rank 1
Boyan Boev
Telerik team
Share this question
or