Hello Coders! Today Blake is going to show you how to Connect to a MySQL Database in Visual Studio! Have any questions? Email us at: …
source
Hello Coders! Today Blake is going to show you how to Connect to a MySQL Database in Visual Studio! Have any questions? Email us at: …
source
30 responses to “How to Connect to a MySQL Database | Visual Studio Tutorial #3”
What happen if mysql server is temporary offline? Can I catch that exception?
Blake – I love you. I just love you! I was combining 2 projects into a single solution and I just couldn't understand why one project worked with a reference and the other one did not. I stepped back and watched your video again – You nailed it!
References have to be added for each Project within a Solution.
When i go into "reference" and look for "MySQL.Data" it is not available. How do I make it availble
THX man very much. You save a lot of my time.
Great tutorial. Thank you very much!
code? please paste it in the description….
do we need internet here?
Hi there! Firtst of all, thanks for the video. Did help out in some way, not all the way though. I do get an authentication error (Authentication to host '127.0.0.1' for user 'sa' using method 'mysql_native_password' failed with message: Access denied for user 'sa'@'localhost' (using password: YES) ) . User and password are correct, no doubt about that. Still, can it be, that you have to configure the way VB encrypts the password or something ? I can connect in Visual Studio (MySQL Connector Plugin) using the same credentials… No idea, stuff gets weird… Can someone help ?
OMG it worked!! The mysql server is on my own computer so I put localhost for the server. Why did it not work when I put my IP address in?
i hope he will make more video…
didnt work
thanks for help .continue.
Really Helped..Thanx man!
ty bro :'D
i like your desktop
Thank you man
Thank you for this!
non si legge un cazzo !
Thank you very much.Because,i can not find the MySql.data in visual studio..Seeing this tutorial..I have gotten it.Thank you vary much again.
Thanks man! Can you make a video on simple web design? I am studying databases and I need to make a website to use with my database and don't know very much about programming on the front end of things..
what if there is no MySQL.Data in the reference?…..
Good thx
how can i know my server name ….and it is not localhost
it helps a lot. but I have a problem to the connection string. Unable to connect to any of the specified mysql hosts
it helps a lot. but I have a problem to the connection string. Unable to connect to any of the specified mysql hosts
When using Visual Studio to compile your executable it creates it in MSIL which can be disassembled using the Microsoft disassembler and whatever code is typed into the section you stated will be shown to the person disassembling your executable. This means that you are telling people to put their username and password for their database into code and anyone can get that information. There should be another method of securely using your username and password for your database. If you are still making videos, and judging by the comments I'm guessing you are not however, if you are still making videos we would very much appreciate a video on how to securely enter your username and password into visual studio to connect to a MYSQL database. This method is not secure.
i hope if you can help me about something
now what i want to do is if some one register on my website
he will be able to login on my program , with the information that he enter in the website , can you tell me if you know how to do that ?!
Ty for share Knowledge.
im implemments mySQL on my dev. helps a lot .
Nice work man thanks that helped a lot!!!!!!
what recording app did you use?