MySQL Forums
Forum List  »  Connector/ODBC

Re: Turning Of Encryption Between ODBC to Localhost Database
Posted by: Carlin Connell
Date: November 09, 2021 10:12PM

I have managed to turn SSL off with:

tsprintf(szConnectionString, TEXT("DSN=%s;UID=%s;PWD=%s;SSLMODE=DISABLED;"), szDSN, szLogin, szPassword);
nRetCode = SQLDriverConnect(hdbc, 0, (SQLWCHAR*)szConnectionString, SQLSMALLINT(tstrlen(szConnectionString)), nullptr, 0, nullptr, SQL_DRIVER_NOPROMPT);

Options: ReplyQuote




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.