phpMyAdmin 高级功能设置的方法

时间:2016.05.07 发布人:fqdya

phpMyAdmin 高级功能设置的方法

已解决问题

谷歌fqdya用户在2016.05.07提交了关于“反对派许智峰phpMyAdmin 高级功能设置的方法”的提问,欢迎大家涌跃发表自己的观点。目前共有1个回答,最后更新于2025-01-03T03:10:45。希望大家能够帮助她。

详细问题描述及疑问:期待您的答案,真心佩服你,谢谢 !

希望以下的回答,能够帮助你。

第1个回答

用户名:jindi来自nongye  

  phpMyAdmin安装后,默认其高级功能是不开启的,所以一般登录夫防地官接轮伯到phpMyAdmin后,会科提示“phpMyAdmin高级功能尚未完全设置,部分功能未激活。请点击这里查看原因害冲卫及画女祖音状。”。而所谓的高级功能,其实静脱喜专就是存储phpMyAdmin的各种参数到**库中。

  要解半著诉决这个问题也不难,实际上根据phpMyAdmin的提示一步一步也能完成。这里简单记录一下过程。

  第一步,在ph顾支井难pMyAdmin源码的examples目录下有个create_tables.sq就害础他l文件,这就是创建名为ph断镇特八变弱写钱pmyadmin**库的站重低银局临搞SQL文。当你用root用户登录phpMyAdmin后,在“导入”页面,上传这个create_tables.sql文件即可成功创建**库phpmyadmin。

  第二步,创建完**库phpmyadmin后,展开左侧phpmya基浓dmin,出现12张表名。

  第三步假,更改配置文件(config.inc.php)中参数,参见config.sample.inc.php中的范例。有关phpMyAdminconfigurationstoragese操度官略担自氢ttings的设置如下:

  $cfg['Servers'][$i]['pmadb']='phpmyadmin';

情冷文  $cfg['Servers'][$i]['bookmarktable']='pma__bookmark';

  $cf杆g['Servers'][$i]['relation']='pma__relation';

  $cfg['Servers'][$i]['table_info']='pma__table_info';

  $cfg['Servers'][$i]['tab夜厚型跟弦另对脱le_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';

  $cfg['Servers'][$i]['userconfig']='pma__userconfig';

  $cfg['Servers'][$i]['recent']='pma__recent';

  $cfg['Servers'][$i]['table_uiprefs']='pma__table_uiprefs';

  第四步,退出,并重新登录phpMyAdmin以加载新配置并使其生效。

  需要注意的是,我记得老版本中的create_tables.sql创建出的表名,类似于pma_bookmark,是一条下划线“_”,而不是现在的pma__bookmark,两条下划线“__”,因此配置文件中也要做出相应的更改。

  2013年12月18日更新:

  由于phpMyAdmin的版本4.1.1所创建的phpmyadmin**库新增了3张表,所以其配置文件config.inc.php也需作相应的变更。最新版phpMyAdminconfigurationstoragesettings的设置如下:

  $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';

  $cfg['Servers'][$i]['userconfig']='pma__userconfig';

  $cfg['Servers'][$i]['recent']='pma__recent';

  $cfg['Servers'][$i]['table_uiprefs']='pma__table_uiprefs';

  $cfg['Servers'][$i]['users']='pma__users';

  $cfg['Servers'][$i]['usergroups']='pma__usergroups';

  $cfg['Servers'][$i]['n**igationhiding']='pma__n**igationhiding';