N
N
Nikolay2016-04-13 17:17:37
C++ / C#
Nikolay, 2016-04-13 17:17:37

How to connect to MySQL database in Windows Forms application (C#)?

Faced a problem. I work with Visual Studio Community. Didn't find a way to connect to a MySQL DB on a remote server in a Windows Forms application. Please tell me how this can be done.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VZVZ, 2016-04-13
@tryvols

www.codeproject.com/Tips/810596/Csharp-Cplusplus-C...
www.codeproject.com/Tips/1021641/Csharp-Java-Using...
But if external access to MySQL is not allowed on the server at all, then connect will not work. It happens that specific requests are prohibited, say for a change.
Then either change the settings on the server (if hosting, then there may not be such an opportunity at all), or make a REST API.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question