I searched the internet but cannot find anything related to this specific error/table. It pops up when I try to view a table in phpMyAdmin. I am logged in as root and the installation (under ubuntu 13.10) of phpMyAdmin is fresh and untouched so far.
Here is the whole message:
SELECT `prefs`
FROM `phpmyadmin`.`pma_table_uiprefs`
WHERE `username` = 'root'
AND `db_name` = 'symfony'
AND `table_name` = 'users'
MySQL reports: #1146 - Table 'phpmyadmin.pma_table_uiprefs' doesn't exist
Is the installation just broken or am I missing something?
You are missing at least one of the phpMyAdmin configuration storage tables, or the configured table name does not match the actual table name.
See http://docs.phpmyadmin.net/en/latest/setup.html#phpmyadmin-configuration-storage.
A quick summary of what to do can be:
locate create_tables.sql
./usr/share/doc/phpmyadmin/examples/create_tables.sql.gz
using phpMyAdmin./etc/phpmyadmin/config.inc.php
and edit lines 81-92: change pma_bookmark
to pma__bookmark
and so on.I came across this same problem on Ubuntu 13.10. I didn't want to hack PHP files, because normally phpMyAdmin works out of the box after installing the package from Ubuntu repositories. Instead I ran:
sudo dpkg-reconfigure phpmyadmin
During reconfigure, I said "yes" to reinstalling the phpMyAdmin database. Afterwards, the problem was gone. I have a vague memory of answering "No" to that question at some earlier time, during an install or upgrade. That is probably why the problem occurred in the first place.
You just change following line in /etc/phpmyadmin/config.inc.php
$ Cfg ['Servers'] [$ i] ['table_uiprefs'] = ‘pma_table_uiprefs’;
to
$ cfg ['Servers'] [$ i] ['pma__table_uiprefs'] = ‘pma__table_uiprefs’;
And restart apache server with command,
sudo service apache2 restart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With