What is the best way to connect Flutter with a MySQL database?
P粉277464743
P粉277464743 2023-08-16 17:38:23
0
1
539

How to connect Flutter to a MySQL database is the best way, is it safe to put the connection string in it, and what do I need to set up this method?

Note that I prefer to use C# for the connection script.

I tried MySQL package1 but found it to be unsafe.

P粉277464743
P粉277464743

reply all (1)
P粉543344381

Start by creating a web service (preferably REST) and deploy it on any web server. Then use that endpoint in your Flutter app. Because it is not recommended to connect to the database directly from the front end

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!