MySQL Forums
Forum List  »  Connector/C++

Re: Load Data Local Infile with Connector/C++
Posted by: Bogdan Degtyariov
Date: August 27, 2018 05:01AM


I can confirm that ODBC Driver 8.0 does not explicitly enable the libmysql option MYSQL_OPT_LOCAL_INFILE, which is disabled by default in libmysql for the security reasons.

Because the security is involved, we need to approach the issue carefully. This can be done by introducing the new connect option for ODBC driver, which will allow using "LOAD DATA LOCAL INFILE ..." queries, so the ODBC user would have to set this option and by doing so acknowledge the potential risks.

Options: ReplyQuote

Written By
Re: Load Data Local Infile with Connector/C++
August 27, 2018 05:01AM
September 19, 2018 09:09AM

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.