Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS MySQL 5.7 #1305

Open
yossicoh opened this issue Sep 14, 2023 · 2 comments
Open

AWS MySQL 5.7 #1305

yossicoh opened this issue Sep 14, 2023 · 2 comments

Comments

@yossicoh
Copy link

I use mySql 5.7 and I tried to do all the necessary actions in order to run the commands and I get the error:

[gh-ost]# bin/gh-ost --user=**** --password=**** --host=**** --switch-to-rbr --database=cust4 --table=RB --alter="ALTER TABLE RB ADD TYPE1_ID BIGINT;" --debug --chunk-size=2000 --max-load=Threads_connected=20
2023-09-14 10:56:08 INFO starting gh-ost 0a033c7
2023-09-14 10:56:08 INFO Migrating cust4.RB
2023-09-14 10:56:08 INFO inspector connection validated on **:PORT
2023-09-14 10:56:08 INFO User has REPLICATION CLIENT, REPLICATION SLAVE privileges, and has ALL privileges on cust4.

2023-09-14 10:56:08 INFO RDS:3306 has MIXED binlog_format. I will change it to ROW, and will NOT change it back, even in the event of failure.
2023-09-14 10:56:08 INFO binary logs validated on RDS:3306
2023-09-14 10:56:08 ERROR Error 1227: Access denied; you need (at least one of) the SUPER privilege(s) for this operation
2023-09-14 10:56:08 INFO Tearing down inspector
2023-09-14 10:56:08 FATAL Error 1227: Access denied; you need (at least one of) the SUPER privilege(s) for this operation

@dbadmin-irl
Copy link

Try setting binlog_format to "row" in your db instance parameter group.

@edusantana
Copy link

For me, using on RDS, after I changed the format I had to reboot the database too.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@edusantana @dbadmin-irl @yossicoh and others