日期:2014-05-16  浏览次数:20741 次

wamp中phpmyadmin连接多个mysql
1.wamp\alias\phpmyadmin.conf中添加
Alias /mysql201 "D:/wamp/apps/phpmyadmin201/" 
<Directory "D:/wamp/apps/phpmyadmin201/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
	Deny from all
	Allow from 127.0.0.1
</Directory>

2.复制wamp\apps\phpmyadmin3.2.0.1到phpmyadmin201

3.修改配置config.inc.php
$cfg['Servers'][$i]['host']
$cfg['Servers'][$i]['user']
$cfg['Servers'][$i]['password']

遇到SHOW PLUGINS错误,修改wamp\apps\phpmyadmin201\libraries\blobstreaming.lib.php
272行$query = "SHOW PLUGINS"为SHOW ENGINES