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
ER_NOT_ALLOWED_COMMAND #22
Comments
|
Command "LOAD LOCAL INFILE" will result in a new exchange between connector and server. Connector when having finish sending a command and permitLocalInfile set to false can immediately send another command since the server will handle the command in order, and TCP guaranty FIFO order. So those 2 options are incompatible. If needing a connection with "LOAD LOCAL INFILE" enable, you cannot set option pipelining. |
|
thanks for reply |
|
the latest version
this.pipelining = opts.pipelining === undefined || opts.pipelining;
this.permitLocalInfile = opts.permitLocalInfile || false;
if (this.pipelining && this.permitLocalInfile) {
console.warn(...);
this.permitLocalInfile = false;
} |
|
corrected with f4cb727 |
when setting the
permitLocalInfile: trueand thepipelining: trueat the same time,LOAD DATE INFILEcommand will not allowThe text was updated successfully, but these errors were encountered: