Ian*_*nce 2 php mysql sql phpmyadmin
我很清楚这是一个常见的问题,我在这里和其他地方浏览了无数的帖子,但我似乎无法让它发挥作用。
我看到这个错误:
The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated.
这是我的配置文件:
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '';
$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';
$cfg['Servers'][$i]['tracking'] = 'pma__tracking';
$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
$cfg['Servers'][$i]['recent'] = 'pma__recent';
$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
Run Code Online (Sandbox Code Playgroud)
有一个名为 PMA 的用户,没有密码且具有完全权限。
我有一个名为 phpmyadmin 的数据库,它填充了脚本中生成的表examples/create_tables.sql。但是,我无法浏览到这些表并查看内容,因为SELECT command denied to user ''@'localhost' for table 'pma__table_uiprefs'(我已登录到根用户)。
当我尝试访问任何配置表时, phpMyAdmin 尝试运行的查询是:
SELECT `prefs`
FROM `phpmyadmin`.`pma__table_uiprefs`
WHERE `username` = 'root'
AND `db_name` = 'phpmyadmin'
AND `table_name` = 'pma__bookmark'
Run Code Online (Sandbox Code Playgroud)
我已经清除了浏览器缓存,重新启动了apache,完成了我在其他地方看到的所有小技巧,但所做的一切都让我感到沮丧。
| 归档时间: |
|
| 查看次数: |
7303 次 |
| 最近记录: |