C# - How to Connect to MySQL Database

preview_player
Показать описание
This is my tutorial on how to connect to a MySQL database using C#. This uses a class that I wrote combined with the official MySQL .dll file.

ZIP file containing class + .dll file:

Рекомендации по теме
Комментарии
Автор

One of the best tutorials on how to do this, that I've seen so far, great work, thanks!

IPhym
Автор

Hey Mister, thanks a lot!! You might have saved with this video a good grade at school for a friend of mine ;-)

ceser
Автор

i love this example
it's AWESOME :)
thank you so much :)

MohammadAljobairi
Автор

this saves tons of time ..thanks man!!

UBOATss
Автор

very nice it helped me bigtime thank you

oramor
Автор

Thanks for this tutorial, but the link in the description is expired.

paulhenst
Автор

Could not find the zip file at the given URL.

maacpiash
Автор

Hi. First i want to thank you for this video it was very helpful. But when i use SELECT it writes cannot convert 'string' to 'bool' any idea?

dennycz
Автор

Please get a better microphone and do a C# Tutorials series :)
I would appreciate that much :)

FrozenSkiller
Автор

I'm a PHP guy needing to do some C# for work. An example of how to use this to select records from MySQL would be most helpful. I've not used Dictionaries before so I'm not sure of the exact syntax. I just tried to add you on FB to ask the question but I can't send a message until you add me.

TheToyfreek
Автор

im a very beginner with this so please tell me how to get items out of the sql database i only know how to do this in php like from the row name the first entry!?
how can i do this?

oramor
Автор

Thanks for this..Its very helpful.. :)

aldrinarabis
Автор

yep i got this error to is a mysql problem u must be registred in mysql with that one.
This is error 1045 i had it when i made phpbb forums but it was easy to enter in mysql and write some codes but now im blocked. when i tryed to make wow private server, that problem appeared again in navicat. I tryed to type the same in mysql started by server pack but can't write, and in the navicat mysql base i can't enter couse of this error. What should i do (Pm pls for navicat problem in wow)?

TheSameHelper
Автор

Oh damn.. Sorry! Will fix right away :) Thanks for pointing it out! :)

CrashproofCode
Автор

I'm glad you liked it! :) I'm desperatly trying to come up with an idea for a new video, so make sure you subscribe if you haven't already :D

CrashproofCode
Автор

Can you re-upload your ZIP file please? your link isn't working

WoodooChill
Автор

i got an error that i cant use sqlClient.Insert("", "", "");

Marcusf
Автор

I'm glad you liked it! I think you might be using it wrong then! Are you using the method for some kind of logic?

CrashproofCode
Автор

For me its says Access denied for user xxxx using password yes i did everything ok also included prefixes of my hosting. Again its not working. On localhost with xampp everything is ok.

AlianVesuf
Автор

Really great tutorial, but I have a question. Is there any documentation file or something like this ? Because I am just able to count and functions like "insert" aren't working for me and I dunno why :(

ThreeHeadedMmonkey