phpMyAdmin2.9の設置

|
phpMyAdmin2.9の設置 http://kgworks.blog47.fc2.com/blog-entry-34.html
# cd /home/test/htdocs/ ←予め公開ディレクトリに移動しておき
# wget http://jaist.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.9.1-all-languages.tar.bz2 
←ダウンロード
# tar xvfj phpMyAdmin-2.9.1-all-languages.tar.bz2 
← 解凍
# mv phpMyAdmin-2.9.1-all-languages phpMyAdmin ← ディレクトリ名が分かりづらいのでphpMyAdminという名前に変更
# cd phpMyAdmin 
← ディレクトリ移動
# cp config.sample.inc.php config.inc.php 
← サンプルの設定ファイルをコピーする
# vi config.inc.php 
← config.inc.phpの編

 

/* $Id: config.sample.inc.php 9673 2006-11-03 09:05:54Z nijel $ */
// vim: expandtab sw=4 ts=4 sts=4:

/**
* phpMyAdmin sample configuration, you can use it as base for
* manual configuration. For easier setup you can use scripts/setup.php
*
* All directives are explained in Documentation.html and on phpMyAdmin
* wiki .
*/

/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = 'test'; 
← 秘密のフレーズ?を指定する
$i = 0;

/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
← auth_typeはcookieで
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'root'; 
← ユーザー名変更
$cfg['Servers'][$i]['controlpass'] = 'password'; 
← パスワード変更
/* Advanced phpMyAdmin features */
/* 
←下記以降は不要だと思ったのでコメントアウト
$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';
*/
← ここまでコメントアウト
/*
* End of servers configuration
*/

/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';

?>

カテゴリ

このブログ記事について

このページは、adminが2006年11月13日 20:34に書いたブログ記事です。

ひとつ前のブログ記事は「Joomla NOTICE Undefined offset」です。

次のブログ記事は「au KDDI ezweb 機種別」です。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。