MySQL Forums
Forum List  »  Connector/ODBC

Re: Starting off with MySql ODBC
Posted by: PK Odendaal
Date: June 30, 2018 02:21AM

Thank you so much Peter.

I have studied your links which were very informative and I have succeeded in naming a DSN called IBSMSfreestate (see attachment).
Under mysql I have registered a user Peka with password 2462 with full authority with Workbench.

However, now I have a problem with opening the connection:

Dim wsODBC As Workspace
Dim Conn As Connection
Set wsODBC = DBEngine.CreateWorkspace("ODBCWorkspace", "admin", "", dbUseODBC)
Workspaces.Append wsODBC
Set Conn = wsODBC.OpenConnection("Conn1", , , "ODBC;DRIVER={MySQL ODBC 8.0};DATABASE=ibsms;PWD=;DSN=IBSMSfreestate")

The error is 'ODBC call failed'.

Maybe my syntax or values are not correct.

Options: ReplyQuote

Written By
Re: Starting off with MySql ODBC
June 30, 2018 02:21AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.