Error: #1146 – Table ‘phpmyadmin.pma_table_uiprefs’ doesn’t exist mysql

Just upgrade my ubuntu 14 to 15. all looks good then i go to my localhost phpmyadmin and tried to open database then found a strange error like mysql said: #1146 – Table ‘phpmyadmin.pma_table_uiprefs’ doesn’t exist mysql. Then searched for fix on google and found many of good answers to fix so i am sharing a simple solution what i have done to fix this error #1146 – Table ‘phpmyadmin.pma_table_uiprefs’ doesn’t exist mysql. This error is because phpMyAdmin configuration storage tables name does not match the actual table name.

How to fix #1146 – Table ‘phpmyadmin.pma_table_uiprefs’ doesn’t exist mysql

Go to “/etc/phpmyadmin/config.inc.php” open it your favorite editor and search for below code

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

replace it with below code

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

or(incase above not worked)

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

Now after save and run your phpmyadmin databse and tables you will not seeing any Error like : #1146 – Table ‘phpmyadmin.pma_table_uiprefs’ doesn’t exist mysql.

After fix this when i go for open tables i faced again another error like Could not save recent table! #1146 – Table ‘phpmyadmin.pma_recent’ doesn’t exist. this is also the same reason.

How to fix #1146 – Table ‘phpmyadmin.pma_recent’ doesn’t exist

Looks like some other configuration tables not matching so i replaced whole code like

Go to “/etc/phpmyadmin/config.inc.php” open it your favorite editor and search for below code

$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]['table__uiprefs'] = 'pma__table_uiprefs';

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

And replace it with below code :-

$cfg['Servers'][$i]['pma__bookmarktable'] = 'pma__bookmark';

$cfg['Servers'][$i]['pma__relation'] = 'pma__relation';

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

$cfg['Servers'][$i]['pma__table_coords'] = 'pma__table_coords';

$cfg['Servers'][$i]['pma__pdf_pages'] = 'pma__pdf_pages';

$cfg['Servers'][$i]['pma__column_info'] = 'pma__column_info';

$cfg['Servers'][$i]['pma__history'] = 'pma__history';

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

$cfg['Servers'][$i]['pma__designer_coords'] = 'pma__designer_coords';

$cfg['Servers'][$i]['pma__tracking'] = 'pma__tracking';

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

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

Also if you want to reconfigure your phpmyadmin for fix those errors you can simple run below command via terminal.

sudo dpkg-reconfigure phpmyadmin

Now you can run smoothly your phpmyadmin with any error after replace with above code you have changed all tables with match name. so phpmyadmin will be run correctly.

pma mysql_Table ‘phpmyadmin.pma_table_uiprefs’ doesn’t exist mysql相关推荐

  1. Ubuntu 使用phpmyadmin,报错#1146 - Table ‘phpmyadmin.pma_table_uiprefs' doesn't exist

    cd /etc/phpmyadminsudo vim config.inc.php 修改phpmyadmin的配置文件config.inc.php $cfg['Servers'][$i]['table ...

  2. phpmyadmin #1045错误无法登录mysql服务器的解决方法

    小编在某一天用wamp server登录phpmyadmin的时候,发现之前的创的一个用户登录不进去,并且出现phpmyadmin #1045错误无法登录mysql服务器. 研究了一下,最后成功解决. ...

  3. mysql phpmyadmin远程_phpmyadmin登录远程mysql数据库

    之前只用phpmyadmin登录本地的mysql,管理另一个远程数据库的时候发现,单纯用命令行处理字符串.换行符实在是不好使,所以配置了远程登录mysql,很简单的问题结果没有搜到合适的方法,所以记录 ...

  4. php1045无法登录mysql_phpstudy安装完成后打开phpmyadmin提示#1045 无法登录 MySQL 服务器...

    展开全部 原因是phpmyadmin目录中config.inc.php配置32313133353236313431303231363533e4b893e5b19e31333365646235的用户名和 ...

  5. 2054无法登陆mysql_张虹亮'blog » ubuntu20.04安装mysql8之后,php5程序和phpmyadmin出现#2054 无法登录MySQL服务器的解决方案...

    最近新装了ubuntu20.04版本,如果安装了php5,在安装mysql之后,使用phpmyadmin登陆,会出现2054 无法登录MySQL服务器 这个问题经过一晚上的折腾,终于找到了解决方案: ...

  6. 数据库备份 Mysql table '' doesn`t exist .(mysql数据库复制迁移时除了复制文件夹外还要复制data目录下的ibdata1文件)

    今天在整理一个网站的时候,操作系统由于系统自动更新导致一直出现系统蓝屏死机,唉,悲剧了,于是重新安装了系统 windows server 2008 enterprise 32bit. 详情: 系统安装 ...

  7. 解决phpmyadmin空密码无法登陆mysql

    原文摘录如下: 这是因为默认phpmyadmin空密码登录是被禁止的,如果想要phpmyadmin空密码允许登录,就需要修改phpmyadmin相关配置. 在phpmyadmin3安装配置图解教程一文 ...

  8. phpmyadmin 无法载入 mysql 扩展_phpMyAdmin“无法载入mysql扩展,请检查PHP配置”解决方法...

    初次配置php环境在使用phpmyadmin时提示 "无法载入mysql扩展,请检查PHP配置" 错误,下面我就此问题来给大家介绍一下解决办法. 在配置了PHP的运行环境,并且安装 ...

  9. PHP开发环境配置:安装与配置Apache、PHP、MySQL、PhpMyAdmin

      目标 Ü        在Windows上安装与配置MySQL Ü        在Windows上安装与配置Apache Ü        在Windows上安装与配置PHP 一般情况下,使用P ...

最新文章

  1. git的一些常用操作
  2. python 递归函数_连载|想用Python做自动化测试?递归函数
  3. 计算机蓝屏代码0xc0000020,Win10运行程序提示“损坏的映像 错误0xc0000020”怎么解决?...
  4. java的classpath
  5. LeetCode 1536. 排布二进制网格的最少交换次数
  6. Android开发笔记(五十四)数据共享接口ContentProvider
  7. SQLCel匹配原数据信息,更新原数据所有信息并插入新数据的过程
  8. 星际2 BETA客户端背景音乐打包下载(附提取方法)
  9. vue安装axios
  10. 什么是物联网(IoT)?
  11. 网易云视频直播推流集成大致过程
  12. 中英文自动翻译(有道翻译、彩云小译)
  13. 如何用html实现图片轮播,怎么单纯的用html+css实现图片轮播?
  14. 洛谷入门5——口算练习题
  15. JAVA-关于计算器的简单图形界面设计例子(不实现功能)
  16. 用python计算债券YTM
  17. 计算机云维护是做什么的,IT运维是什么?云时代下的运维人员是怎样的?
  18. 程序员工资一般多少钱一个月?【推荐】
  19. A Game of Thrones(30)
  20. UCK将信任建立在安全之上 让生态价值源远流长

热门文章

  1. java bean配置文件_Spring中多配置文件及引用其他bean的方式
  2. miui通知栏要点两下_MIUI免费主题分享,半透明通知栏很好看,另附壁纸!
  3. 微信小程序 实现复制到剪贴版功能
  4. [微信小程序]计算自己手机到指定位置的距离
  5. 流程快速开发平台,工作流引擎中间件,工作质量考核设计
  6. FZU 2297 Number theory【线段树/单点更新/思维】
  7. CentOS 7磁盘格式化
  8. backbone学习总结(二)
  9. 《Effective C++》第8章 定制new和delete-读书笔记
  10. AjaxControlToolKit之DragPanelExtender用法