De todo lo que busque, en la pagina de
http://www.connectionstrings.com/mysql
vi masomenos como de la siguiente manera
Specifying TCP/IP port
Driver={MySQL ODBC 5.1 Driver};Server=IP_SITIO;Port=3306;Database=DBNAME; User=USER; Password=PASS;Option=3;
Código visual basic:
Ver original
Private Sub Form_Load() Set Conexion = New Adodb.Connection Conexion.ConnectionString = "Driver={MySQL ODBC 5.1 Driver};Server=IP_SITIO;Port=3306;Database=DBNAME;User=USER; Password=PASS;Option=3;" Conexion.Open End Sub
Pero cuando pruebo el programa me dice el siguiente ERROR :
"Error '-2147467259 (80004005)' en tiempo de ejecucion:
[MySQL][ODBC 5.1 Driver]Access denied for user 'usuario_2821'@'190.2.109.30'(using password: YES)"
Saludos.!