I am using the following code in Access 2k to establich a connection to a
MYSQL database
Dim conn As ADODB.Connectio n
Set conn = New ADODB.Connectio n
conn.Connection String = "DRIVER={My SQL ODBC 3.51 Driver};DESC=;U SER=" &
myUsername_
& ";DATABASE= " & mySQLDatabase_
& ";SERVER=" & myServer_
& ";PASSWORD= " & myPassword_
& ";PORT=;OPTION= ;STMT=;" ';TABLE=" & myTable
conn.Open
I get a Catostrophic failure error on the conn.Open line
This seems to work on one of my computers but not on the other. Both Windows
2K
Can anyone please help.
Alex
MYSQL database
Dim conn As ADODB.Connectio n
Set conn = New ADODB.Connectio n
conn.Connection String = "DRIVER={My SQL ODBC 3.51 Driver};DESC=;U SER=" &
myUsername_
& ";DATABASE= " & mySQLDatabase_
& ";SERVER=" & myServer_
& ";PASSWORD= " & myPassword_
& ";PORT=;OPTION= ;STMT=;" ';TABLE=" & myTable
conn.Open
I get a Catostrophic failure error on the conn.Open line
This seems to work on one of my computers but not on the other. Both Windows
2K
Can anyone please help.
Alex
Comment