Hola buenas.
esto y tratando de conectarme ami host online pero sin exito
Excepción no controlada del tipo 'System.ArgumentException' en System.Data.dll
Información adicional: Keyword not supported.
Imports MySql.Data
Imports MySql.Data.Types
Imports MySql.Data.MySqlClient
Public Class Form1
Dim conex As New MySqlConnection
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
conex = New MySqlConnection
conex.ConnectionString = ("server=192.185.165.61;user id=gsmmovil_8277;password=********;database=gsmmovil_servidor")
Try
conex.Open()
MessageBox.Show("Se ha Conectado Correctamente con la Bases de Datos")
conex.Close()
Catch mierror As MySqlException
MessageBox.Show("Error No se ha Podido Conectar con la Base de Datos: " & mierror.Message & vbExclamation)
Finally
conex.Dispose()
End Try
End Sub
End Class