Aliyun's RDS mysql uses Data Export's sql file to perform Data import problems

wrong description

When using Mysql Workbentch to export mysql data into sql files for import, the following error message appears.
Access denied; you need (at least one of) the SUPER or SYSTEM_VARIABLES_ADMIN privilege(s) for this operation

Solutions from others

DEFINER=`root`@`localhost

Alibaba Cloud Community Practices

https://developer.aliyun.com/ask/19702

Solutions

I found that the word DEFINER could not be found in sql
and finally deleted

SET @MYSQLDUMP_TEMP_LOG_BIN = @@SESSION.SQL_LOG_BIN;
SET @@SESSION.SQL_LOG_BIN= 0;

The import was found to be normal.

Guess you like

Origin blog.csdn.net/aofengdaxia/article/details/126574052