使用鏈接表的額外特性尚未激活。要查出原因,請單擊此處。
1.先建立一個名為phpmyadmin的數(shù)據(jù)庫
2.然后把目錄下scripts/create_tables.sql導(dǎo)入到這個庫
mysqldir/bin/mysql -u root -p /phpadmin_dir/scripts/create_tables.sql
3.打開config.inc.php配置文件.
//$cfg['Servers'][$i]['pmadb'] = ''; // 'phpmyadmin' - see scripts/create_tables.sql
//$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]['pmadb'] = 'phpmyadmin'; // 'phpmyadmin' - see scripts/create_tables.sql
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; // 'pma_bookmark'
$cfg['Servers'][$i]['relation'] = 'pma_relation'; // 'pma_relation'
$cfg['Servers'][$i]['table_info'] = 'pma_table_info'; // 'pma_table_info'
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords'; // 'pma_table_coords'
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages'; // 'pma_pdf_pages'
$cfg['Servers'][$i]['column_info'] = 'pma_column_info'; // 'pma_column_info'
$cfg['Servers'][$i]['history'] = 'pma_history'; // 'pma_history'
這樣保存后重啟服務(wù)就可以了。
補充下,如果老大方法不行的可以試試以下方法
補充下,如果老大方法不行的可以試試以下方法:
1、進(jìn)入phpmyadmin
2、直接在根目錄導(dǎo)入phpmyadmin的scripts文件夾里的create_tables.sql,會自動生成名為phpmyadmin的數(shù)據(jù)庫
3、然后修改phpmyadmin的libraries文件夾里的config.default.php(其實也可以是phpmyadmin根目錄下的config.inc.php,但很多都沒有,只有帶sample的,沒設(shè)置好,所以直接改default的,記得備份)
4、修改的部分
之前
之后
5、這些項目都不是連續(xù)的,逐個改吧,如果是根目錄配置好的config.inc.php,卻是連續(xù)的。
6、保存,重新登陸phpmyadmin,完成