phpMyAdmin 2.8.2.1 設定メモ
なんか意外とWEBに情報少なかったのでメモ。
- http://www.phpmyadmin.net/ から最新一式をDL
- http://インスト先パス/scripts/setup.php を実行
- Servers の [Add] ボタンを押す
- 特に別サーバでなければ、Server hostname は [localhost] のまま
- User for config auth / Password for config auth にデータベースのユーザ名/パスワード入力
- そのまま下のほうの緑色の文字[Add]ボタンを押す。
- [Download] をクリックすると設定ファイルがダウンロードできる。
- それを phpMyAdmin をいれた直下にコピー
- http://インスト先パス/index.php にアクセス!
- 画面がでれば成功!
※ダウンロードできる設定ファイルの名前は、config.inc.php です。違う名前でダウンロードされちゃってたら要リネーム!
参考までに、私の環境で動いた設定ファイル
<?php
/*
* Generated configuration file
* Generated by: phpMyAdmin 2.8.2 setup script by Michal Čihař <michal@cihar.com>
* Version: $Id: setup.php,v 1.23.2.10 2006/05/15 07:57:30 nijel Exp $
* Date: Tue, 08 Aug 2006 11:32:02 GMT
*//* Servers configuration */
$i = 0;$i++;
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'XXXXXX';?>