mysqlimport: Error: 1227 Access denied with MySQL 8.0 and Amazon RDS

Question:

We are using MySQL 8.0.* and .csv file for the importing data into Amazon RDS. We are executing this command from the app server command line.

Error:

Command:

We have already provided DBA permission to DB user.

Answer:

As error suggests, the user you are running import command not having permissions SESSION_VARIABLES_ADMIN.

You could setup it like below.

OR

It should resolve the issue.

Leave a Reply