Is there any way to connect to a MYSQL databse via Expo?

Hi guys. Sorry if this is a silly question I’m pretty new to web dev and come from a Java heavy desktop background.

My question is - is there a way, with Expo, to connect to a remote MYSQL database on my web server and get information from there that I can then load into the app?

What you would need to do is create some sort of API, such as a REST API for example, that you could hit from your app to get the data. You would do this with using the fetch command or whichever http client of your choice to make calls to your API. there is no way to connect directly to a MySQL db directly with expo.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.