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 / Execute a query from P...
Power Automate
Unanswered

Execute a query from Power Apps to an on-site SQL instance

(0) ShareShare
ReportReport
Posted on by 60

Hey everyone, 

 

I'm setting up a Flow process in which a user submits a form and in their form, they have a 'Name' field. From my 'Name' field, I would like to query my on-premise SQL (MariaDB) with "SELECT * FROM table where 'Name'=powerAutomate.'Name'". After my SQL instance returns a query, I would like to use the attributes from the results in my Power Automate flow. To make matters more complex, my database is stored on a server within our corporate network (and not accessible from elsewhere). 

 

I realize to do this, I would have to create a connector and a gateway where my connector would run through my gateway. The thing is my database is located on a RHEL linux OS and I read that gateways require Windows. Would the alternative require me to set up a Windows VM on my server and then install the gateway and then setup a connector? 

Categories:
I have the same question (0)

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 419

#2
Vish WR Profile Picture

Vish WR 314

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard