Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error EPROTO when load local data infile to database with SSL #3491

Open
joaoribeiro1498 opened this issue Mar 20, 2025 · 0 comments
Open

Error EPROTO when load local data infile to database with SSL #3491

joaoribeiro1498 opened this issue Mar 20, 2025 · 0 comments

Comments

@joaoribeiro1498
Copy link

joaoribeiro1498 commented Mar 20, 2025

Hello everyone,

I'm trying yo bulk to mysql database a file with 4GB with SSL certificate and after sometime of process start I'm getting this error: - Error: LOAD DATA LOCAL INFILE CSV_FILE IGNORE INTO TABLE TABLE FIELDS TERMINATED BY '~#' OPTIONALLY ENCLOSED BY '"' ESCAPED BY '\\' LINES TERMINATED BY '\n' IGNORE 0 LINES (COLUMNS) - write EPROTO

this is mysql connection object:
{ "connection": { "host": "127.0.0.1", "user": "user", "password": "password", "database": "database", "port": 3306, "ssl": "Amazon RDS", "decimalNumbers": true, "jsonStrings": true } }

I'm using node 20.15.1

Can someone have a idea what's cause this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants