LoginSignup
2
2

More than 5 years have passed since last update.

Amazon RDS for MySQLをremoteにしてSpiderストレージエンジンを利用する

Posted at

初めに

こちらの要約として書きました。
助かりました。ありがとうございました。

概要

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

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2