Skip to main content
Ground Control | Tier 1
August 5, 2024
Question

Error while connecting to MySQL Database

  • August 5, 2024
  • 6 replies
  • 154 views

Hi folks,

I am getting below error when I am using connection mode as “ user defined”, database type as “MYSQL”, server name as “local host”, database name as “rpa” , credentials using which are created in credentials vault, port number as “3306”

 

I am getting below error when I am using connection mode as “default” and connection is as follows:

Driver={MySQL ODBC 5.2 ANSI Driver};Server=local host;Port=3306;Database=rpa;User=$username$;Password=$password$;Option=3

here, I am selecting the check box for “Use ODBC 64-bit driver for connection

 

Also i am not finding my sql realted option in odbc system DSN.

Kindly help me out from this issue and please let me know what are the prerequisites to connect with MYSQL database?

 

6 replies

Tamil Arasu10
Most Valuable Pathfinder
Most Valuable Pathfinder
August 6, 2024

Hi @polugopi,

Please install the MYSQL jdbc driver. 

https://dbschema.com/jdbc-driver/mysql.html

_Tamil_
Navigator | Tier 3
April 17, 2025

Hi @polugopi,

Please install the MYSQL jdbc driver. 

https://dbschema.com/jdbc-driver/mysql.html


Hallo ​@Tamil Arasu10 ,

which version of driver and install where?

greetings

Tamil Arasu10
Most Valuable Pathfinder
Most Valuable Pathfinder
April 22, 2025

Local machine/ where the bot agent installed machine. In the link you can find the installation guide as well.

 

_Tamil_
Navigator | Tier 3
April 28, 2025

Hi,

Make sure the MySQL ODBC 64-bit driver is installed and correctly configured in the ODBC Data Source Administrator. If it's not listed in the System DSN tab, you can download it from the MySQL website: MySQL ODBC Driver.

Also, verify your MySQL service is running and that the credentials are correct. This should fix the issue

Shreya.Kumar
Pathfinder Community Team
May 14, 2025

@MichalTurek if any of these suggestions helped you out, could you mark them as best answer?

Om Keskar
Navigator | Tier 3
Navigator | Tier 3
May 24, 2025

Hi,
Install MySQL ODBC Driver from MySQL :: Download Connector/ODBC
Also, you can check your connection string from SQL Server connection strings - ConnectionStrings.com