dropdb等が厄介な場合の対処法

正攻法

  1. dropdb -h 【DBホスト名】 【DB名】・・・(1)

正攻法が駄目だった場合(pg_pool restart)

  1. su
  2. cd /etc/init.d
  3. ./pgpool restart
  4. (1)

それでも駄目だった場合・接続が残っている場合(postgres restart)

  1. su
  2. cd /etc/init.d
  3. ./pgpool stop
    1. dbサーバXにて
      1. cd /etc/init.d
      2. ./postgresql restart
    2. dbサーバYにて
      1. cd /etc/init.d
      2. ./postgresql restart
  4. ./pgpool start
  5. (1)