這個對於沒有phpMyAdmin的空間來說(如:日,韓空間大部份都沒有)還滿好用的..
先到下載網址
http://www.phpmyadmin.net/home_page/downloads.php
然後會有這個畫面
看到了吧!!圈起來的都是可以下載的….當然是給他下載最新的版本囉!!
下載完解壓縮後
要改一下[color=red]config.inc.php[/color] 內的一些設定值
然後傳上去你的server就行了…
開啟[color=red]config.inc.php[/color] 照一下以下一些地方
找到這一行
$cfg['PmaAbsoluteUri'] = '';
改成
$cfg['PmaAbsoluteUri'] = '你安裝phpMyAdmin server的目錄';
例如:
$cfg[‘PmaAbsoluteUri’] = ‘http://top1.pp.ru/phpMyAdmin’;
再找到這行
$cfg['blowfish_secret'] = '';
改成
$cfg['blowfish_secret'] = 'cookie';
找到這幾行
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings // (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user" // and "mysql/db" tables)
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = ''; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed // with 'config' auth_type)
要注意的只有這四行
$cfg['Servers'][$i]['host'] = 'localhost'; //這是設定你MySQL所在的主機
$cfg['Servers'][$i]['auth_type'] = 'cookie'; //這是設定進入 phpMyAdmin 管理MySQL的方式
$cfg['Servers'][$i]['user'] = 'mysql用戶名'; //這是設定管理MySQL的帳號
$cfg['Servers'][$i]['password'] = 'mysql密碼'; //這是設定管理MySQL的密碼
修改好了傳上去…這樣就行囉….其他的非必要就不需設定了….在此僅以介紹安裝好 phpMyAdmin 為主
其他的可以自己試試看就好….只是要提醒一下…若要試試…別忘了先將 config.inc.php 備份起來
到這裡已經安裝好了…..再來介紹用 phpMyAdmin 管理資料庫的備份與還原…
[color=blue][size=18]資料庫的備份[/size][/color]
[color=blue][size=18]資料庫的還原[/size][/color]
連結選擇SQL
選擇備份下來的sql檔
利用瀏覽檔案…直接用檔案還原