Rad Blog

Archive

[MYSQL] ERROR 1227 (42000) at line 55: Access denied; you need (at least one of) the SUPER privilege(s) for this operation 해결

2022-04-06 mysql xfrnk2

AWS RDS의 데이터 이관중 트러블슈팅

  • Mysql Server > Data ExportExport OptionSelf-Contained File로 지정하여 sql 파일 추출
  • Mysql Server > Data Export 실행하니 아래와 같은 에러가 등장.
ERROR 1227 (42000) at line 55: Access denied;
you need (at least one of) the SUPER privilege(s) for this operation
SET @MYSQLDUMP_TEMP_LOG_BIN = @@SESSION.SQL_LOG_BIN; 
SET @@SESSION.SQL_LOG_BIN= 0;
SET @@GLOBAL.GTID_PURGED=/*!80000 '+'*/ '';
SET @@SESSION.SQL_LOG_BIN = @MYSQLDUMP_TEMP_LOG_BIN
  • 성공적 마이그레이션!
comments powered by Disqus