cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chs
Advocate I
Advocate I

Retrieve data from webserver

Hello together,

 

I have a apache based webserver. 

There is a html php form, that writes a ticket into my mySQL database.

 

My ticketsystem is in SharePoint. So I would like to get the data from webserver to sharepoint.

What is the best practice way to do so?

 

I tried with local gateway... But it only takes lokal data, so the webserver is noch reachable for it.

 

Thank you

Chris

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User
Dual Super User

I would think the best workaround would be to move both the webserver an my SQL to a VM that you control running in the cloud. Another alternative would be to create a web service API that could be called via HTTP. And as you point out a thrid alternative would be to export the content in a file and manually upload it.  I would need to know more about the specifics of where you are running your web server and MySql to suggest what would be the best workaround.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!

View solution in original post

9 REPLIES 9
Pstork1
Dual Super User
Dual Super User

Is your MySql server on-premises or in the cloud?  There is a connector for MySql which you could use with a recurrence trigger to get new rows in the MySql database. (The MySql connector doesn't have Triggers).



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!

Hi! 

Webserver is in the cloud.

That why the local gateway cant reach it...

 

But there has to be a way to exchange data with a webserver....

 

thank you

Chris

Pstork1
Dual Super User
Dual Super User

I'm sure the webserver data is stored in your MySQL server.  So as I said I would use the MySql connector to get the data our of the database.  There really is no way to use Flow to interact directly with a webserver unless the web server provides APIs for accessing information.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!

As far as I know it is not possible to use the gateway installed on an on premise server to get data from a cloud server on the web.

I have seen that on a (german) official flow page from Microsoft.

 

Is that correct? Needs the connector local access to the data?

 

Chris

Pstork1
Dual Super User
Dual Super User

If the web server and MYSQL are in the cloud you don't need a gateway.  That is only to talk to data sources that are stored on-premises.  And no, it won't work with cloud data sources.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!

I confirm again: mySQL and Webserver are in the cloud. 

So, you say I dont need gateway. Good. But which modul do I have to take in the Flow Builder?

 

When I enter "mysql" to search I get "Get row" which is what I need.

I click it, but then I HAVE to enter a gateway.

 

So if you say I dont need a gateway, I do ask again my question from the beginning: 

What is the way to get data from cloud mySQL to flow?

 

Thank you

Chris

Pstork1
Dual Super User
Dual Super User

Sorry, my mistake.  After checking the MySQL connector documentation I find that it is designed to only work with an onPremises version of MySQL.  If you are running your MySQL in an Azure VM then you can install the gateway on that VM.  If its not running on a VM then you won't be able to connect to it.  For example, I have one running at GoDaddy to support my website.  Taht one would not be reachable using the connector based on the documentation.

 

https://docs.microsoft.com/en-us/connectors/mysql/



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!

But there needs to be a work around.
I could save my data I get from the ticket form to file. Then get the file over eg ftp or something...

I am looking for the best alternative and hope to find someone here who has a good idea.
Chris
Pstork1
Dual Super User
Dual Super User

I would think the best workaround would be to move both the webserver an my SQL to a VM that you control running in the cloud. Another alternative would be to create a web service API that could be called via HTTP. And as you point out a thrid alternative would be to export the content in a file and manually upload it.  I would need to know more about the specifics of where you are running your web server and MySql to suggest what would be the best workaround.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,144)