Databinding ODBC data connection

4 posts, 0 answers
  1. Sivanathan
    Sivanathan avatar
    2 posts
    Member since:
    Dec 2011

    Posted 20 Jan 2012 Link to this post

    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.
  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 20 Jan 2012 Link to this post

    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
  3. Newi
    Newi avatar
    6 posts
    Member since:
    Oct 2015

    Posted 26 Feb in reply to Anthony Link to this post

    install MySQL ODBC 5.1 and use

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

    ;-) Newi
  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 02 Mar Link to this post

    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!
Back to Top