[[FrontPage]]
#contents
*phpMyAdmin Ver 3.4.9 [#ie78aa43]
phpMyAdmin の設定保存場所が完全に設定されていないため、いくつかの拡張機能が無効になっています。理由についてはこちらをご覧ください。

**高度な機能の設定する簡単な方法 [#z028d104]

+script/create_tables.sql で必要なテーブルを作成します。 
 k222# cd /usr/local/www/phpMyAdmin/scripts
 k222# mysql -u root -p < create_tables.sql
 Enter password: ← パスワード(mysql管理者)の入力
+作ったテーブルにアクセスできる pma ユーザを作成します。 
+設定ファイル (config.inc.php) で高度な機能を有効にします。config.sample.inc.php  にある設定例をコピーするといいでしょう。 
 <?php
 /* $FreeBSD: ports/databases/phpmyadmin/files/config.inc.php.sample,v 1.4 2010/03/08 23:24:47 miwi Exp $
  *
  * Skeleton configuration file -- this file is empty on a fresh
  * installaton of phpmyadmin.
  * 
  * Copy any settings you want to override from
  * libraries/config.default.php or visit /phpmyadmin/setup/ to generate a
  * basic configuration file
  * 
  */
 
 $cfg['blowfish_secret'] = 'kujiKUJI92'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
 
 /*
  * Servers configuration
  */
 $i = 0;
 
 /*
  * First server
  */
 $i++;
 /* Authentication type */
 $cfg['Servers'][$i]['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';
 $cfg['Servers'][$i]['AllowNoPassword'] = false;
 
 /* rajk - for blobstreaming */
 $cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
 $cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
 $cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
 $cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';
 
 /* User for advanced features */
 // $cfg['Servers'][$i]['controluser'] = 'pma';
 // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
 
 $cfg['Servers'][$i]['controluser'] = 'pma';
 $cfg['Servers'][$i]['controlpass'] = '設定したパスワード';
 
 
 /* Advanced phpMyAdmin features */
 $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
 $cfg['Servers'][$i]['relation'] = 'pma_relation';
 $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]['designer_coords'] = 'pma_designer_coords';
 $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
 $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
 
 /*
  * Directories for saving/loading files from server
  */
 $cfg['UploadDir'] = '';
 $cfg['SaveDir'] = '';
 
 ?>
+更新した設定ファイルを読み込むために phpMyAdmin にログインし直します。

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS