Tengo puesto
Código ASP:
Ver original<%
Dim Conn As New SqlConnection(New MySQLConnectionString("localhost:3306", "Nombre de base de datos", "Minombre", "Mipass", 3306).AsString)
MySQLCon.Open()
Return True
Catch ex As MySQLException
MsgBox(" no se pudo conectar a MySQL Server:" & vbCrLf & ex.Message.ToString)
End Try
Dim cM As New
SqlCommand("SELECT * FROM usuarios", Conn)
Dim dR as SqlDataReader = cM.ExecuteReader();
While dR.Read()
response.write(dR("nombre"))
End While
%>
Me he vasado en esto
http://www.connectionstrings.com/mysql