This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

Importing CSV File to mariadb

Hello, I am getting the error statement below when I try to import a csv file to mariadb. How can I be able to solve it?

Error statement ; As a result of LOCAL INFILE command server wants to read C:/Users/Charles Msilanga/Desktop/SQL Practice/bank data.csv file, but as of v2.0 you must provide streamFactory option returning ReadStream.

Thank you

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.