web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Powerautomate desktop ...
Power Automate
Answered

Powerautomate desktop mysql db connection

(0) ShareShare
ReportReport
Posted on by 38

Recently evaluating  the  power-automate desktop. I am trying to upload a excel data in MySQL db. 

I am having the 'mysql-connector-odbc-8.0.21' connector (32 bit). When i checked the database actions  , in the connection provider tab , there is no mysql provider available. Kindly advice how to make connection to mysql db to use the database actions.

Thanks for your help .

 

I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @sureshvignesh 

     

    In my own experience, you can connect from PAD to MySQL data source with the steps below.

     

    1. Install MySQL ODBC Driver (mysql-connector-odbc-8.0.25-winx64.msi).
    2. Create "File DSN" using "ODBC Data Sources (64-bit)" app (odbcad32.exe).
    3. Open PAD Flow Designer and set variable storing the connection strings.
    4. Open SQL connection.
    5. Execute SQL statement.
    6. Close SQL connection.

     

    Please refer screenshots below for more details.

     

    #2 Create "File DSN" using "ODBC Data Sources (64-bit)" app (odbcad32.exe):

     

    shindomo_0-1634031745943.png

     

    shindomo_1-1634031809542.png

     

    #3 Set variable storing the connection strings:

     

    Provider=MSDASQL.1;Persist Security Info=True;Extended Properties="Driver=MySQL ODBC 8.0 Unicode Driver;SERVER=SERVER_NAME_OR_IP_ADDRESS;UID=USER_NAME;PWD=PASSWORD;DATABASE=DATABASE_NAME;PORT=3306"

     

    shindomo_3-1634032287089.png

     

    #4 - 6 Entire flow image of Open SQL / Execute SQL / Close SQL:

     

    shindomo_4-1634032605921.png

     

    Please try it.

    Thank you.

  • yoko2020 Profile Picture
    495 on at

    @sureshvignesh wrote:

    Recently evaluating  the  power-automate desktop. I am trying to upload a excel data in MySQL db. 

    I am having the 'mysql-connector-odbc-8.0.21' connector (32 bit). When i checked the database actions  , in the connection provider tab , there is no mysql provider available. Kindly advice how to make connection to mysql db to use the database actions.

    Thanks for your help .

     


    PAD is 64 bit, so you need to install 64 bit Mysql ODBC Driver.

     

    Another sample of connection string that i use :

    Driver={MySQL ODBC 8.0 UNICODE Driver};Server=%TestMySqlServer%;Database=%TestMySqlDatabaseName%;User=%TestMySqlUser%;Password=%TestMySqlPassword%;Connection Timeout=18000;Option=3;ENABLE_LOCAL_INFILE=1

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 921

#2
Valantis Profile Picture

Valantis 801

#3
Haque Profile Picture

Haque 588

Last 30 days Overall leaderboard