[英]PHPmyadmin Xampp error : #1146 - Table 'phpmyadmin.pma_recent' doesn't exist
I Work with xampp localhost and see this error in PHPMyAdmin: 我使用xampp localhost并在PHPMyAdmin中看到此错误:
1- my list of database is empty : 1-我的数据库列表为空:
Connection for controluser as defined in your configuration failed.
2- see this error : 2-看到此错误:
Could not save recent table
#1146 - Table 'phpmyadmin.pma_recent' doesn't exist
SELECT `prefs` FROM `phpmyadmin`.`pma_table_uiprefs` WHERE `username` = 'root' AND `db_name` = 'cms' AND `table_name` = 'cms_users'
MySQL said: Documentation
#1146 - Table 'phpmyadmin.pma_table_uiprefs' doesn't exist
How do i fix this ?! 我该如何解决 ?!
Make sure the table exists on your database. 确保该表存在于数据库中。 Try doing the Create Table syntax all over again. 再次尝试执行“创建表”语法。 Here's an example: 这是一个例子:
CREATE TABLE example (
id INT,
data VARCHAR(100)
);
I was able to solved the issue for xampp on windows SELECT prefs
FROM phpmyadmin
. 我能够通过phpmyadmin
在Windows SELECT prefs
上解决xampp的问题。 pma_table_uiprefs
WHERE username
= pma_table_uiprefs
WHERE username
=
First make sure schema phpmyadmin and all pma tables are available. 首先确保模式phpmyadmin和所有pma表都可用。
If not, you can import xampp/phpMyAdmin/examples/create_tables.sql. 如果没有,则可以导入xampp / phpMyAdmin / examples / create_tables.sql。 the tables should be available now. 该表现在应该可用。
If the problem still persists, check whether there is "__" in the table name. 如果问题仍然存在,请检查表名中是否存在“ __”。 eg If that is the case ( In my case), you need to edit xampp/phpMyAdmin/config.inc.php. 例如,如果是这种情况(以我为例),则需要编辑xampp / phpMyAdmin / config.inc.php。
$cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs'; // earlier
$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs'; // edited
xampp error #1146 should be gone now. xampp错误#1146现在应该消失了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.