Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Connection in vb.net (no replies)

$
0
0
I am having trouble connecting to one of my databases in vb.net. I am using the mysql connector for .Net, this is somewhat new to me as I have been using the ODBC connector prior to this. I am using a connection string like this

Dim conn As New MySqlConnection("server=Server;User Id=root;password=default;Persist Security Info=True;database=db1")

where Server is the name of the server where mysql is

is this connection string not right?

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>