I am trying to create a remote database using MYSQL
PC #1 : Connected and NO PROBLEM : this is where the database located (can add,save and delete)
PC #2 : Cant connect to server. I'm getting error : Cant connect on mysql server on 192.168.1.196
I already use : Grant All Privileges on *.* to 'root'@'%' Identified by 'Password' with GRANT OPTION;
Database Connection :
Public Sub CONNECTION()
Set cn = New ADODB.CONNECTION
Set cn = New ADODB.CONNECTION
cn.CursorLocation = adUseClient
cn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _
& "SERVER=192.168.1.196;PORT=3306;" _
& "DATABASE=sample;" _
& "UID=root;" _
& "PWD=ssmpc1;" _
& "OPTION=16387"
cn.Open
End Sub
Any Help?
PC #1 : Connected and NO PROBLEM : this is where the database located (can add,save and delete)
PC #2 : Cant connect to server. I'm getting error : Cant connect on mysql server on 192.168.1.196
I already use : Grant All Privileges on *.* to 'root'@'%' Identified by 'Password' with GRANT OPTION;
Database Connection :
Public Sub CONNECTION()
Set cn = New ADODB.CONNECTION
Set cn = New ADODB.CONNECTION
cn.CursorLocation = adUseClient
cn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _
& "SERVER=192.168.1.196;PORT=3306;" _
& "DATABASE=sample;" _
& "UID=root;" _
& "PWD=ssmpc1;" _
& "OPTION=16387"
cn.Open
End Sub
Any Help?