Say I have a connection to a database. After reading some stuff I want to connect to the same database. So I naturally use the first database mysqlconnection.serverstring
Well guess what, the password and username is not included in connect1.ConnectionString. So how can I do so? Is this by design?
Using connect1 As New MySqlConnection(ConnectLocalhost.serverString)
connect1.Open()
bla bla bla
Using connect2 As New MySqlConnection(connect1.ConnectionString) ' this won't work
connect2.Open()
End Using