douyong7199 2015-05-09 14:40 采纳率: 0%
浏览 320
已采纳

phpMyAdmin正在查找错误的数据库中的PMA_Tracking等

I recently did something stupid and then compounded it with another idiot move and now I am stuck.

I allowed phpMyAdmin to create it's tables in an important DB I was working on. Of course being a fool I panicked and dropped the tables. Now despite having a vanilla config file that makes no mention of the DB and having removed all the phpMyAdmin files and unpacked them again I am still getting error messages about the table not existing in the wrong DB.

As per #1146 - Table 'phpmyadmin.pma_recent' doesn't exist I have imported the make tables SQL but this has not helped.

I cannot, for the life of me, figure out what phpMyAdmin has written and where to make this problem so persistent but I am starting to loose my cool...

How do I make it look in the right place? I've updated the config.inc.php and outright told it that where to look and still it wants to use the DB I am trying to build for my project.

 /* Advanced phpMyAdmin features */
 $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';

What am I missing to make it want to look in MyOtherDB?

  • 写回答

1条回答 默认 最新

  • dtpn60029 2015-07-06 09:55
    关注

    Exactly the same thing happened to me :0) I figured out that the settings are stored in cookies. Just use our browser inspection tools to delete all the pma_* cookies.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog