Load text data into AWS RDS MySQL serverless v2
If you encounter this while running "load data local infile"
So, you just need to enable it on client side:
(3948, 'Loading local data is disabled; this must be enabled on both the client and server sides')
For server parameter, it is enabled by default.
You can double check by running:
SHOW GLOBAL VARIABLES LIKE 'local_infile';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| local_infile | ON |
+---------------+-------+
mycli --local-infile=1
Comments
Post a Comment