When declaring MySQL Class in the system that you have made, you might encounter an error if you don't add
MySQL.Data.dll as references. So, in this tutorial I will teach you how to add MySQL.Data.dll in VB.Net. With the help of this method you can access MySQL library.
Before we start, download MySQL Connector and install it in your machine.
Open a Microsoft Visual Studio 2018 and create a new windows form application.
Go to the solution explorer, right click references and add reference.
Select browse in the side bar and select Browse button.
Find MySQL folder in c: drive.
Inside MySQL folder, select MySQL Connector.
Inside MySQL Connector, select assemblies/v4.5.2 and add
For more question about this article. You can contact me @
Email – [email protected]
Mobile No. – 09305235027 – TNT
FB Account – https://www.facebook.com/onnaj.soicalap
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.