5〜6回は似たようなことで毎回数時間費やしている。とり頭過ぎる。メモしないとダメだ!。 サーバー側環境 Debian GNU/Linux wheezy インストール & 設定 % sudo aptitude install mysql-serverログは /var/log/syslog に吐き出される。設定ファイルは/etc/mysql/my.cnf。データベースは /var/lib/mysql 以下。 外部からアクセスできるようにする。/etc/myusql/my.cnfのbind-addressを以下のようにする。 bind-address = 0.0.0.0/etc/hosts.allowにてmysqldをアクセスできるようにする。仮に hogehoge.co.jp をアクセス可能とする。 mysqld: hogehoge.co.jp LOCALmysqldを立ち上げ直す。 % su