Skip to main content
Cadet | Tier 2
July 6, 2022
Question

Unable to connect with MySql database. Tried multiple ways but getting various errors

  • July 6, 2022
  • 7 replies
  • 462 views

AA_mysqlError_2AA_mysqlError

    7 replies

    Tamil Arasu10
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    July 6, 2022
    AngsuAuthor
    Cadet | Tier 2
    July 6, 2022

    thanks but tried with the same and getting a different errorAA_mysqlError_3

    Navigator | Tier 3
    July 6, 2022

    @Angsuman Ganguly​ 

    Download and install mysql odbc drivers: 32 bit version

    https://dev.mysql.com/downloads/connector/odbc/

    Use connection string and replace with your corresponding values(server-address,dbname,username,password):

     

    DRIVER={MySQL ODBC 8.0 Unicode Driver};SERVER=server-address;DATABASE=dbname;USER=username;PASSWORD=password;OPTION=3;

     

     

    image

    AngsuAuthor
    Cadet | Tier 2
    July 7, 2022

    Tried but getting same error. Username and password can be random ? I tried Mysql password but didn't helpAA_mysqlError_4

    Ashwin A.K
    Navigator | Tier 3
    July 8, 2022

    Hi @Angsuman Ganguly​ ,

     

    Could you try following the steps detailed in this tutorial and see if that works out for you?

     

    Kind Regards,

    Ashwin A.K

    Blogs at TheCodingTheory - https://www.thecodingtheory.com
    Cadet | Tier 2
    April 4, 2023

    How was this issue resolved. I am facing the same issue for connecting the Oracle DB. Any pointers will help greatly.