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 III
Dual Super User III

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.

View solution in original post

9 REPLIES 9
Pstork1
Dual Super User III
Dual Super User III

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.

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 III
Dual Super User III

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.

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 III
Dual Super User III

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.

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 III
Dual Super User III

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.

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 III
Dual Super User III

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.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,819)