多國語言翻譯:

展開 | 闔起

人氣:8567
b168168tw - 網站及伺服器建置 | 2013-02-14 | 人氣:8567

1、請先到下載phpMyAdmin-3.3.9-all-languages主程式 (搭配php5.217最佳版本)

http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/3.3.9/

 

2、將資料夾解壓縮後更名為phpMyAdmin,放到C硬碟裡面。

3、找到以下檔案,用筆記本打開進行修改。

C:\phpMyAdmin\config.sample.inc.php

將 30 行的 ‘cookie’ 更改為 ‘http’
將 36 行的 ‘mysql’ 更改為 ‘mysqli’
尋找’/* Advanced phpMyAdmin features */’‧

把後面 9 行 // $cfg[ 開頭的文字去掉開頭「兩個反斜線」及「空格」( 以下code的 49 到 58 行 )
修改完成後‧將檔案另存成 C:\phpMyAdmin\config.inc.php

<?php
/* vim: set 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 setup/
 *
 * All directives are explained in Documentation.html and on phpMyAdmin
 * wiki <http://wiki.phpmyadmin.net>.
 *
 * @version $Id$
 * @package phpMyAdmin
 */

/*
 * This is needed for cookie based authentication to encrypt password in
 * cookie
 */
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

/*
 * Servers configuration
 */
$i = 0;

/*
 * First server
 */
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'http';
/* 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'] = 'mysqli';
$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';
/* 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';
$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
/* Contrib / Swekey authentication */
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';

 

4、進入IIS管理介面中 -> 對者網站按右鍵 -> 選擇:新增站台

 

 

 5、輸入以下的設定:

站台:phpMyadmin

實體路徑:C:\phpMyAdmin

連接埠:82

 

完成後送出,接者對新增加的phpMyadmin 點選右鍵 -> 管理網站 -> 瀏覽

 

 

 

 會進入phpmyadmin的登入UI介面,帳號如沒更改預設是root,密碼就是安裝mysql時所設定的那組。

 6、如沒問題就會進入phpmyadmin的登入UI介面中,

 

只要在資料庫中任意新增一個資料庫及數個資料表後,頁角紅字【關聯資料表的附加功能未能啟動, 請按此 查出問題原因.】就會消失。

 

 到這階段表示phpmyadmin的建置工作已經全部完成。  

部分參考資料來源:http://a3.walkup.tw/?p=935

教學撰寫:徐嘉裕 Neil hsu 

neilthemesSimple網站設計開發:Neil網站設計工坊,徐嘉裕Neilhsu
Website CMS by:XOOPS 網站設計:Neil網站設計工坊
營業人名稱:尼爾網站設計工坊 統一編號:37586308
服務專線:0931229118網路電話:07010003568
Do NOT follow this link or you will be banned from the site!