首先修改phpmyadmin配置文件config.inc.php(或者先把config.sample.inc.php改成config.inc.php),改成你数据库的用户名和密码
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = 'yourpass';
修改了这两个信息后phpmyadmin就可以正常使用了,要用designer功能的话还要做如下改动:把下面这些行的注释去掉
$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]['designer_coords'] = 'pma_designer_coords';
然后再执行phpmyadmin/scripts/create_tables_mysql_4_1_2+.sql这个sql文件。顺利执行之后DESIGNER MODE 就可以使用了。
今天还碰到“配置文件现在需要绝密的短语密码(blowfish_secret) ”这个错误,出现这个问题请在$cfg['blowfish_secret'] = ' ';的等号里面设置你网站的cookie,例如:$cfg['blowfish_secret'] = 'bbs.bitscn.com';这是因为你的“$cfg['Servers'][$i]['auth_type'] = 'cookie'的原因