将s3中的csv文件加载到MYSQL RDS数据库中时遇到以下错误
Error Code: 1045. Access denied for user 'xxx'@'%' (using password: YES)
使用的代码:
LOAD DATA INFILE 's3://v222/Test/sample_data.csv' INTO TABLE <tablename>
FIELDS TERMINATED BY ',' ENCLOSED BY '"'
LINES TERMINATED BY '\r\n'
IGNORE 1 LINES;