I'm just getting started with attempting to connect to a MySQL database from ASP.NET (VB, web app). I need to know how to declare the relevant classes and initiate the connection.
The MySQL DB is on a different server on the same LAN and I'd like to use a named pipe to access it, though I would also accept code that will connect using TCP/IP to get started.
So, what do I declare at the top of the page, and what code do I then use to instantiate the MySqlConnection object?
Our community of experts have been thoroughly vetted for their expertise and industry experience.