How to connect to MySQL with C# Winforms and XAMPP

18
3



Read the original article here:

MySQL .NET Connector:

Please subscribe to our channel. For more awesome content visit

Music: Bensound.com

Follow us on Twitter

Like us on Facebook:

Nguồn:https://wijstaanvooronzegrondrechten.org/

Xem Thêm Bài Viết Khác:https://wijstaanvooronzegrondrechten.org/cong-nghe

18 COMMENTS

  1. getting an error on the INSERT INTO users('userID', 'firstName', 'lastName', address') VALUES(NULL, 'Bruce', 'Wayne', 'Wayne Manor'). The error says "you have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the tight syntax to use near " at line 1". The Mysql version i'm using is 8.0.1.6

  2. If you got an error : host 127.0.0.1 does not support SSL connection, just add 'sslmode=none' to the MySQLConnectionString. Don't forget to separate by semicolon ';' though.

  3. Thanks a lot, it worked. But if anyone else had the problem (showing as a warning) "This is a higher version than the currently targeted framework .NETFramework,Version=v4.5" this is how you fix it:
    Go to properties of your project and set up the version needed (in my case it had to be 4.5.2) of the .NETFramework and everything else works just fine, just like in this video.
    ThumbsUp

  4. I create a short playlist where I explain how to connect mysql with C#: https://www.youtube.com/watch?v=oeUxMn5DlH0
    I really appreciate every subscription.

  5. Toll, dadurch das man den source Decompilen kann Kann man auch einfach die Datenbank auslesen. (kann man mit einem POST Request an einer PHP Seite umgehen.)

LEAVE A REPLY

Please enter your comment!
Please enter your name here