Before you run these commands / 実行前の確認
- Deactivate and delete sHub-Log from the WordPress admin. / WordPress 管理画面で sHub-Log を無効化し、削除してください。
- Back up your database. / データベースのバックアップを取得してください。
- Run blocks 1 through 4 in order in phpMyAdmin (or your host SQL tool). / phpMyAdmin 等で、1 → 2 → 3 → 4 の順に実行してください。
- Reinstall and activate sHub-Log. / プラグインを再インストール・有効化してください。
Table prefix / テーブル接頭辞
Default is usually wp_. Confirm $table_prefix in wp-config.php.
All SQL blocks below update automatically when you change this value.
多くのケースで wp_ です。wp-config.php の $table_prefix を確認してください。このボックスに入力すると下の SQL がすべて自動更新されます。
1. カスタムテーブル削除 / Drop custom tables
DROP TABLE IF EXISTS iglwl_syntaxhub_securelog_login_errors;
DROP TABLE IF EXISTS iglwl_syntaxhub_securelog_protected_ips;
DROP TABLE IF EXISTS iglwl_syntaxhub_securelog_attack_logs;
DROP TABLE IF EXISTS iglwl_syntaxhub_securelog_bot_access_logs;2. 設定オプション削除 / Delete plugin options
DELETE FROM iglwl_options
WHERE option_name LIKE 'syntaxhub_securelog\_%';3. ユーザー設定(表示モード)削除 / Delete admin view preference
DELETE FROM iglwl_usermeta
WHERE meta_key = 'syntaxhub_securelog_admin_view_mode';4. 一時キャッシュ(transient)削除 / Delete transients
DELETE FROM iglwl_options
WHERE option_name LIKE '_transient\_syntaxhub_securelog\_%'
OR option_name LIKE '_transient_timeout\_syntaxhub_securelog\_%';