简体   繁体   中英

Windows client - MYSQL server on linux

I have a Winforms desktop app that need to read/write data from/to a MYSQL database. The MYSQL server is on a machine that runs on Linux OS. I need to know if a .NET connector is to be used or an ODBC connector? Also, considering that I do not need remote access to MYSQL server, is a connector sufficient to access the server from the windows desktop? Do I need to do something on the server side? I've been looking around and getting mixed signals, some people said a web service is required while others said no.

I need to know if a .NET connector is to be used or an ODBC connector?

I never connected to MYSQL before, but i think you can use these data provider or, ODBC too.

Is a connector sufficient to access the server from the windows desktop?

Yes. A valid address to your server is all you need to access it, using data providers or ODBC. Of course, your database need to be up and running too.

Do I need to do something on the server side?

Just install your MYSQL database.

Maybe this link will help you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM