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 Apps / MySql dB connection
Power Apps
Answered

MySql dB connection

(0) ShareShare
ReportReport
Posted on by 457

Hi

I have MySQL database in server. I want to access the database from power app how to connect it.

Please help me.

Categories:
I have the same question (0)
  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Gelos 

     

    PowerApps has a connector to MySQL and its premium.

     

    StalinPonnusamy_0-1643120578624.png

     

    • Create a New connection to MySQL
    • Open the Canvas app
    • Click "Data" on the left navigation
    • Search MySQL and connect

     

    StalinPonnusamy_1-1643120681420.png

     

    Please let me know if any issues


    Thanks,
    Stalin - Learn To Illuminate

  • timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    @Gelos 

    The only other comment I would add is that the MySQL connector works only with on-premise MySQL databases. Therefore, you would also need to install the on premise gateway.

    There are more details about this here:
    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/MySQL-connector-connectivity/idi-p/133968

     

  • Gelos Profile Picture
    457 on at

    Hi thank you for your replay. But my database is in server so I don't know how to connect.

  • Gelos Profile Picture
    457 on at

    Yes. But I installed gateway but it only works if the database is in my system. but MySql database is in server system so I want to connect it. Please help me

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Gelos 

     

    Yes, we can connect server as well. We need to install the On-premises Data Gateway on the Server where your MySQL exists. When you try to connect, Select the name for the server from the dropdown.

     

  • Gelos Profile Picture
    457 on at

    But how to install On-premises Data Gateway on the server. I access server using cPanel. And I have another doubt can I access another Desktop database from my system powerapps

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at
    1. I haven't used cpanel and am not confident to answer.
    2. PowerApps application it's in Cloud. To access the desktop from the cloud, you need to install an On-premises Data gateway on that desktop where the database exists.


    Thanks,
    Stalin - Learn To Illuminate

     

  • Gelos Profile Picture
    457 on at

    ok I understand desktop problem. But now I want to connect server which is in online. I access MySQL database from server using cPanel so I want to know how to install gateway there.

  • Verified answer
    StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    From my knowledge, "On-premises data gateway" has installer (exe) so you need to have access to view the UI to install. Here is the Microsoft article for data gateway installation. 

  • Gelos Profile Picture
    457 on at

    Ok thankyou for your replay

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard