我正在使用一个由AWS RDS托管的MySQL 5.7数据库来试验pt-online-schema-change工具。$ pt-online-schema-change D=my_db,t=my_table,h=my_host.com,u=my_user --alter="drop COLUMN ios_notification_tokenpreserve-triggers --executeYou do not have the PROCESS privilege at /usr/
我尝试用pt-online-schema-change向RDS DB表的2列添加唯一索引,但它失败了,错误如下:
DBD::mysql::db do failed: Access denied; youleast one of) the SUPER privilege(s) for this operation [for Statement "SET SQL_LOG_BIN=0"] at /usr/bin/pt-online-schema-change