Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21306

need help (vb6 + mysql)

$
0
0
database connection

Set cn = New ADODB.CONNECTION

Set cn = New ADODB.CONNECTION

cn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _
& "SERVER=192.168.1.229;" _
& "DATABASE=ssmpc_database;" _
& "UID=root;PWD=ssmpc; OPTION=3"
cn.Open

on the computer that i am working on, the connection is working.
but when i try to put the vb program on another computer
message appears ("cant connect to mysql server on 192.168.1.229")

how to access mysql connection remotely?

Viewing all articles
Browse latest Browse all 21306

Trending Articles