ERROR 1045 (28000) on AWS RDS mysql LOAD DATA INFILE
问题 I'm using MySQL 8.0.16 on AWS RDS. When I run SQL command: mysql> LOAD DATA INFILE 't1.csv' INTO TABLE t1 FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n'; ERROR 1045 (28000): Access denied for user 'admin'@'%' (using password: YES) Running mysqlimport from Shell: $ mysqlimport --local --compress -u admin -pXXXXXXX -h HOST.rds.amazonaws.com DB --verbose --lines-terminated-by="\n" --fields-terminated-by=, --fields-enclosed-by='"' t1.csv mysqlimport: [Warning] Using a password