You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We are trying to run a restore to an AWS RDS Instance and have the --skip-definer option applied however we still see the error:
11:51:10.275: Error restoring: CREATE ALGORITHM=UNDEFINED DEFINER=`*************`@`%` SQL SECURITY DEFINER VIEW `****` AS select `****`.`uuid`... ));
Access denied; you need (at least one of) the SUPER privilege(s) for this operation
Anything with a * is something I've had to mask.
We do use the AWS RDS Auth Token to authenticate and I added the LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN=1 env variable to ensure the cleartext plugin is loaded.
To Reproduce
Command executed:
Technically these commands are executed from a Go script however it seems to have the same effect as running it from the command line.
davidducos
changed the title
[BUG] --skip-definer doesn't appear to affect this SQL statement (AWS RDS)
[BUG] --skip-definer doesn't appear to affect views
Jun 20, 2022
Describe the bug
We are trying to run a restore to an AWS RDS Instance and have the
--skip-definer
option applied however we still see the error:Anything with a
*
is something I've had to mask.We do use the AWS RDS Auth Token to authenticate and I added the
LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN=1
env variable to ensure the cleartext plugin is loaded.To Reproduce
Command executed:
Technically these commands are executed from a Go script however it seems to have the same effect as running it from the command line.
What mydumper and myloader version has been used?
We install the below version:
v0.12.3-3/mydumper_0.12.3-3-zstd.bullseye_amd64.deb
Expected behavior
The restore is success.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: