うーん、Mac OS X 10.5.8(Snow Leopard)にmysql55-serverをMacPortsで入れたのだけど、起動スクリプトとかはオマケで付いてこないのかな。自前でやらないとダメっぽい。 インストール $ sudo port install mysql55-server /opt/local/lib/mysql55にもろもろ入るようだ。mysqlコマンドも/opt/local/lib/mysql55/binに入るので、ここにPATHも通した方が良いのか。 初期設定 # DB初期化 $ sudo -u _mysql /opt/local/lib/mysql55/bin/mysql_install_db # rootパスワード設定 /opt/local/lib/mysql55/bin/mysqladmin -u root password 'new-password' /