最新のphpMyAdmin
phpMyAdmin-3.4.3.2-all-languages.tar.gz
をDL。なぜか日本のミラーサイトから出来なくて他所から行きました。DLしたzipファイルを
tar xvfz phpMyAdmin-3.4.3.2-all-languages.tar.gz
で解凍。解凍したディレクトリの名前をphpmyadminに変更します。そのフォルダを入れる場所なんですが初めここを教えてくれるサイトがなく苦労しました。ここが正確でした。
/Library/WebServer/Documents
へ移します。フォルダ内に入っているconfig.sample.inc.phpの名前をconfig.inc.phpに書き換えます。次に
$cfg[‘blowfish_secret’] = ‘パスワード’;
にパスワードを設定します。47~57行目
/* Storage database and tables */
// $cfg[‘Servers’][$i][‘pmadb’] = ‘phpmyadmin’;
// $cfg[‘Servers’][$i][‘bookmarktable’] = ‘pma_bookmark’;
// $cfg[‘Servers’][$i][‘relation’] = ‘pma_relation’;
// $cfg[‘Servers’][$i][‘table_info’] = ‘pma_table_info’;
// $cfg[‘Servers’][$i][‘table_coords’] = ‘pma_table_coords’;
// $cfg[‘Servers’][$i][‘pdf_pages’] = ‘pma_pdf_pages’;
// $cfg[‘Servers’][$i][‘column_info’] = ‘pma_column_info’;
// $cfg[‘Servers’][$i][‘history’] = ‘pma_history’;
// $cfg[‘Servers’][$i][‘tracking’] = ‘pma_tracking’;
// $cfg[‘Servers’][$i][‘designer_coords’] = ‘pma_designer_coords’;
// $cfg[‘Servers’][$i][‘userconfig’] = ‘pma_userconfig’;
のコメントアウトを外す。Webブラウザを起動して
http://localhost/phpmyadmin/index.php
で無事ログイン画面が出たら成功です。