初めに
こちらの要約として書きました。
助かりました。ありがとうございました。
概要
RDSのMySQLをSpiderのremoteとして設定した時、ただインストールしただけだとテーブルにアクセスした時次のようにエラーに。
ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER privilege(s) for this operation
ただ、RDSの制約上ユーザーにSUPERを設定できないので、そもそもSUPERが必要なくなるように設定を追加する必要があります。
my.cnfに次のように追加し、再起動してください。
[mysqld]
spider_internal_sql_log_off = ON
spider_remote_sql_log_off = 1
補足1
SpiderストレージエンジンはMariaDBにプリインされているものを使用しました。
補足2
設定される値の詳細については以下の通りです。
https://mariadb.com/kb/en/mariadb/spider-server-system-variables/#spider_remote_sql_log_off
https://mariadb.com/kb/en/mariadb/spider-server-system-variables/#spider_internal_sql_log_off