简体   繁体   English

MySQL 错误 - #1932 - 引擎中不存在表“phpmyadmin.pma 用户配置”

[英]MySQL error - #1932 - Table 'phpmyadmin.pma user config' doesn't exist in engine

I am trying to set up my database in MySQL using XAMPP.我正在尝试使用 XAMPP 在 MySQL 中设置我的数据库。 I am doing this via phpMyAdmin on localhost(Apache is running).我是通过 localhost 上的 phpMyAdmin 执行此操作的(Apache 正在运行)。 The only action on my part is typing in a new, unused, name for a database, click create and...我唯一的操作是为数据库输入一个新的、未使用的名称,单击创建并...

this error occurs:发生此错误:

Error
SQL query: DocumentationEdit Edit


SELECT MAX(version) FROM `phpmyadmin`.`pma__tracking` WHERE `db_name` = 'stuff_tessss'  AND `table_name` = ''  AND FIND_IN_SET('CREATE DATABASE',tracking) > 0
MySQL said: Documentation

#1932 - Table 'phpmyadmin.pma__tracking' doesn't exist in engine #1932 - 引擎中不存在表“phpmyadmin.pma__tracking”

The database is showing in the list of databases.数据库显示在数据库列表中。 If you were to click on one, it takes forever and a day to not load.如果你点击一个,它需要永远一天的时间才能加载。

I've tried researching and implementing the other 1932 error solutions on stack and other places but to no avail.我尝试在堆栈和其他地方研究和实施其他 1932 错误解决方案,但无济于事。

Here are the following versions for the tech I am utilizing:以下是我正在使用的技术的以下版本:

  • OS X El Capitan - 10.11.1 OS X El Capitan - 10.11.1
  • Server version: Apache/2.4.16 (Unix)服务器版本:Apache/2.4.16 (Unix)
  • PHP 5.6.15 (i had to reinstall with -intl extensions because CakePHP was complaining about a dependency) PHP 5.6.15(我不得不使用 -intl 扩展重新安装,因为 CakePHP 抱怨依赖项)
  • CakePHP 3.0 (this required installation of Composer to utilize cakePHP from command line, which I believe runs off of PHP) CakePHP 3.0(这需要安装 Composer 才能从命令行使用 cakePHP,我相信它会运行在 PHP 之外)
  • mySQL Ver 14.14 Distrib 5.7.9, for osx10.11 (x86_64) mySQL Ver 14.14 Distrib 5.7.9,适用于 osx10.11 (x86_64)
  • XAMPP 5.6.14-4 XAMPP 5.6.14-4

I've read all sorts of solutions such as run it in Linux, or using an older version of XAMPP, etc. I figured there is a smarter person out there who might know the solution.我已经阅读了各种解决方案,例如在 Linux 中运行它,或使用旧版本的 XAMPP 等。我认为有一个更聪明的人可能知道该解决方案。 I mainly had a hard time trying to figure out where to research, as well.我也很难弄清楚在哪里研究。

If anyone who could point me in the right direction I would greatly appreciate it!如果有人能指出我正确的方向,我将不胜感激!

if someone is still facing this issue, for me it started to occur after I changed my mysql/data with mysql/backup earlier to solve another issue.如果有人仍然面临这个问题,对我来说,在我之前用mysql/backup更改我的mysql/data以解决另一个问题后,它开始发生。

I tried a lot of methods, and finally found the solution was very simple!尝试了很多方法,最后发现解决方法很简单! Just click on this icon(Reset session) after opening PhPMyAdmin(it was loading in my case) just below the logo of PhPMyAdmin.打开PhPMyAdmin(在我的情况下正在加载)后,只需单击PhPMyAdmin徽标正下方的此图标(重置会话)。 It fixed the issue in one-click!一键解决问题!

For me, the error code was #1142对我来说,错误代码是#1142

PhpMyAdmin Reset Session PhpMyAdmin 重置会话

PhpMyAdmin 重置会话

Finally, I find the solution.最后,我找到了解决方案。
We can find there really exists the table 'pma__tracking' when we expand the phpmyadmin database.当我们展开phpmyadmin 数据库时,我们可以发现确实存在表'pma__tracking'。

But the system error call on #1932 - Table 'phpmyadmin.pma__tracking' doesn't exist in engine.但是 #1932 上的系统错误调用 - 引擎中不存在表“phpmyadmin.pma__tracking”。

So just try to remove the old pma__* database first and reconfig them later.因此,只需尝试先删除旧的 pma__* 数据库,然后再重新配置它们。

1.Remove the wrong tables in xampp's installation path and remove all the files in var/mysql/phpmyadmin/, which are similar like pma__bookmark.frm/pma__bookmark.ibd... 1.删​​除xampp安装路径中的错误表,删除var/mysql/phpmyadmin/中的所有文件,类似pma__bookmark.frm/pma__bookmark.ibd...

2.Reinstall the sql of phpmyadmin, which located in phpmyadmin/sql/, something like 'create_tables.sql', run them with mysql < create_table.sql, etc. 2.重新安装phpmyadmin的sql,位于phpmyadmin/sql/,类似'create_tables.sql',用mysql<create_table.sql等运行。

Then it works.然后它起作用了。

In short just replace the content of config.inc.php from line 50-69 with...简而言之,只需将第 50-69 行 config.inc.php 的内容替换为...

 $cfg['Servers'][$i]['pma__bookmark'] = '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__table_uiprefs'] = 'pma__history';
 $cfg['Servers'][$i]['pma__table_uiprefs'] = 'pma__table_uiprefs';
 $cfg['Servers'][$i]['pma__tracking'] = 'pma__tracking';
 $cfg['Servers'][$i]['pma__userconfig'] = 'pma__userconfig';
 $cfg['Servers'][$i]['pma__recent'] = 'pma__recent';
 $cfg['Servers'][$i]['pma__users'] = 'pma__users';
 $cfg['Servers'][$i]['pma__usergroups'] = 'pma__usergroups';
 $cfg['Servers'][$i]['pma__navigationhiding'] = 'pma__navigationhiding';
 $cfg['Servers'][$i]['pma__savedsearches'] = 'pma__savedsearches';
 $cfg['Servers'][$i]['pma__central_columns'] = 'pma__central_columns';
 $cfg['Servers'][$i]['pma__designer_coords'] = 'pma__designer_coords';
 $cfg['Servers'][$i]['pma__designer_settings'] = 'pma__designer_settings';
 $cfg['Servers'][$i]['pma__export_templates'] = 'pma__export_templates';
 $cfg['Servers'][$i]['pma__favorite'] = 'pma__favorite';

I had the same error and it occured when changing the mysql/data folder to another folder.我有同样的错误,它发生在将mysql/data文件夹更改为另一个文件夹时。
I just copied all folders inside mysql/data folder to a new location except for two files.我只是将mysql/data文件夹中的所有文件夹复制到一个新位置,除了两个文件。 Those are ib_logfile0 and ib_logfile1 ;这些是ib_logfile0ib_logfile1 those are automatically created when starting the MySQL server.这些是在启动 MySQL 服务器时自动创建的。 That worked for me.那对我有用。

这是由于有时会话查询可能包含无效字符,尝试单击 PHPMYADMIN 中突出显示的图标,它会解决,因为会话值重置为默认值参见图片

This is how i solved my problem这就是我解决我的问题的方法

  • go to xampp/mysql/data directory转到xampp/mysql/data目录
  • delete all the unwanted files except database folders删除除数据库文件夹之外的所有不需要的文件
  • restart the xampp server and go to the dashboard重新启动 xampp 服务器并转到仪表板
  • click the clear session data icon below the phpmyadmin icon单击 phpmyadmin 图标下方的清除会话数据图标

ErrorCode # 1932 Worked for me on Ubuntu 14.04 Trusty ErrorCode # 1932 在 Ubuntu 14.04 Trusty 上为我工作

$cfg['Servers'][$i]['pma__bookmark'] = '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__table_uiprefs'] = 'pma__history';
$cfg['Servers'][$i]['pma__table_uiprefs'] = 'pma__table_uiprefs';
$cfg['Servers'][$i]['pma__tracking'] = 'pma__tracking';
$cfg['Servers'][$i]['pma__userconfig'] = 'pma__userconfig';
$cfg['Servers'][$i]['pma__recent'] = 'pma__recent';
$cfg['Servers'][$i]['pma__users'] = 'pma__users';
$cfg['Servers'][$i]['pma__usergroups'] = 'pma__usergroups';
$cfg['Servers'][$i]['pma__navigationhiding'] = 'pma__navigationhiding';
$cfg['Servers'][$i]['pma__savedsearches'] = 'pma__savedsearches';
$cfg['Servers'][$i]['pma__central_columns'] = 'pma__central_columns';
$cfg['Servers'][$i]['pma__designer_coords'] = 'pma__designer_coords';
$cfg['Servers'][$i]['pma__designer_settings'] = 'pma__designer_settings';   
$cfg['Servers'][$i]['pma__export_templates'] = 'pma__export_templates';
$cfg['Servers'][$i]['pma__favorite'] = 'pma__favorite';

This is my experience for this problem maybe it could help you :这是我对这个问题的经验,也许它可以帮助你:

I copied all folders and files inside the /data folder to have a backup from my db .我复制了/data文件夹中的所有文件夹和文件,以便从我的db进行备份。

When I switched to another Computer's Xampp and I started copying all folders and files copied before from previous phpmyadmin /data folder.当我切换到另一台计算机的Xampp ,我开始复制之前从以前的phpmyadmin /data文件夹复制的所有文件夹和文件

So when I was done this problem happened for me .所以当我完成时,这个问题发生在我身上。

To solve this issue :要解决此问题:

1 - I made a backup from /data folder of phpmyadmin by copying only only folders have same name with tables I want to make backup . 1 -我从phpmyadmin/data文件夹进行了备份, /data是仅复制与要备份的表具有相同名称的文件夹。

2 - Uninstall Xampp. 2 -卸载 Xampp。

3 - Reinstall Xampp . 3 -重新安装 Xampp。

4 - Copy all folders Kept in step 1 inside mysql/data folder . 4 -将步骤 1 中保留的所有文件夹复制到mysql/data文件夹中。 this folders are only database tables and be careful don't touch another file and folder or replace anything when copying.此文件夹只是数据库表,复制时请注意不要触及其他文件和文件夹或替换任何内容。

make change in changes in /opt/lampp/phpmyadmin/config.inc.php    

<?php
    /* vim: set expandtab sw=4 ts=4 sts=4: */
    /**
     * phpMyAdmin sample configuration, you can use it as base for
     * manual configuration. For easier setup you can use setup/
     *
     * All directives are explained in documentation in the doc/ folder
     * or at <http://docs.phpmyadmin.net/>.
     *
     * @package PhpMyAdmin
     */

    /**
     * This is needed for cookie based authentication to encrypt password in
     * cookie
     */
    $cfg['blowfish_secret'] = 'xampp'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */

    /**
     * Servers configuration
     */
    $i = 0;

    /**
     * First server
     */
    $i++;
    /* Authentication type */
    $cfg['Servers'][$i]['auth_type'] = 'config';
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = '';
    /* Server parameters */
    //$cfg['Servers'][$i]['host'] = 'localhost';
    //$cfg['Servers'][$i]['connect_type'] = 'tcp';
    $cfg['Servers'][$i]['compress'] = false;
    $cfg['Servers'][$i]['AllowNoPassword'] = true;

    /**
     * phpMyAdmin configuration storage settings.
     */

    /* User used to manipulate with storage */
    // $cfg['Servers'][$i]['controlhost'] = '';
    // $cfg['Servers'][$i]['controlport'] = '';



    $cfg['Servers'][1]['pmadb'] = 'phpmyadmin';
    $cfg['Servers'][1]['controluser'] = 'pma';
    $cfg['Servers'][1]['controlpass'] = '';

    $cfg['Servers'][1]['bookmarktable'] = 'pma_bookmark';
    $cfg['Servers'][1]['relation'] = 'pma_relation';
    $cfg['Servers'][1]['userconfig'] = 'pma_userconfig';
    $cfg['Servers'][1]['table_info'] = 'pma_table_info';
    $cfg['Servers'][1]['column_info'] = 'pma_column_info';
    $cfg['Servers'][1]['history'] = 'pma_history';
    $cfg['Servers'][1]['recent'] = 'pma_recent';
    $cfg['Servers'][1]['table_uiprefs'] = 'pma_table_uiprefs';
    $cfg['Servers'][1]['tracking'] = 'pma_tracking';
    $cfg['Servers'][1]['table_coords'] = 'pma_table_coords';
    $cfg['Servers'][1]['pdf_pages'] = 'pma_pdf_pages';
    $cfg['Servers'][1]['designer_coords'] = 'pma_designer_coords';



    // $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
    // $cfg['Servers'][$i]['users'] = 'pma__users';
    // $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
    // $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
    // $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
    // $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
    // $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
    // $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
    /* Contrib / Swekey authentication */
    // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';

    /**
     * End of servers configuration
     */

    /**
     * Directories for saving/loading files from server
     */
    $cfg['UploadDir'] = '';
    $cfg['SaveDir'] = '';

    /**
     * Whether to display icons or text or both icons and text in table row
     * action segment. Value can be either of 'icons', 'text' or 'both'.
     * default = 'both'
     */
    //$cfg['RowActionType'] = 'icons';

    /**
     * Defines whether a user should be displayed a "show all (records)"
     * button in browse mode or not.
     * default = false
     */
    //$cfg['ShowAll'] = true;

    /**
     * Number of rows displayed when browsing a result set. If the result
     * set contains more rows, "Previous" and "Next".
     * Possible values: 25, 50, 100, 250, 500
     * default = 25
     */
    //$cfg['MaxRows'] = 50;

    /**
     * Disallow editing of binary fields
     * valid values are:
     *   false    allow editing
     *   'blob'   allow editing except for BLOB fields
     *   'noblob' disallow editing except for BLOB fields
     *   'all'    disallow editing
     * default = 'blob'
     */
    //$cfg['ProtectBinary'] = false;

    /**
     * Default language to use, if not browser-defined or user-defined
     * (you find all languages in the locale folder)
     * uncomment the desired line:
     * default = 'en'
     */
    //$cfg['DefaultLang'] = 'en';
    //$cfg['DefaultLang'] = 'de';

    /**
     * How many columns should be used for table display of a database?
     * (a value larger than 1 results in some information being hidden)
     * default = 1
     */
    //$cfg['PropertiesNumColumns'] = 2;

    /**
     * Set to true if you want DB-based query history.If false, this utilizes
     * JS-routines to display query history (lost by window close)
     *
     * This requires configuration storage enabled, see above.
     * default = false
     */
    //$cfg['QueryHistoryDB'] = true;

    /**
     * When using DB-based query history, how many entries should be kept?
     * default = 25
     */
    //$cfg['QueryHistoryMax'] = 100;

    /**
     * Whether or not to query the user before sending the error report to
     * the phpMyAdmin team when a JavaScript error occurs
     *
     * Available options
     * ('ask' | 'always' | 'never')
     * default = 'ask'
     */
    //$cfg['SendErrorReports'] = 'always';

    /**
     * You can find more configuration options in the documentation
     * in the doc/ folder or at <http://docs.phpmyadmin.net/>.
     */

Had the same problem in Ubuntu 14 using XAMPP.在使用 XAMPP 的 Ubuntu 14 中遇到了同样的问题。 Here's what I did which worked..这是我所做的工作..

  1. Stop mysql if its running in xampp如果 mysql 在 xampp 中运行,则停止它
  2. vi /opt/lamp/phpmyadmin/config.inc.php (use sudo if you are not the su) vi /opt/lamp/phpmyadmin/config.inc.php(如果你不是su,请使用sudo)
  3. replace代替

    $cfg['Servers'][1]['relation'] = 'pma__relation'; $cfg['Servers'][1]['userconfig'] = 'pma__userconfig'; $cfg['Servers'][1]['table_info'] = 'pma__table_info'; ...

    to

    $cfg['Servers'][1]['pma__relation'] = 'pma__relation'; $cfg['Servers'][1]['pma__userconfig'] = 'pma__userconfig'; $cfg['Servers'][1]['pma__table_info'] = 'pma__table_info'; ...

    basically add pma__ prefix to the left side similar to the right.基本上在左侧添加 pma__ 前缀,类似于右侧。

  4. Run mysql and access localhost/phpmyadmin and click on a db to check if it works.运行 mysql 并访问 localhost/phpmyadmin 并单击一个数据库以检查它是否有效。

Hope this helps.希望这可以帮助。

I've encountered the same problem in OSX.我在 OSX 中遇到了同样的问题。 I've tried to replace the things like我试图取代像
$cfg['Servers'][$i]['usergroups'] to $cfg['Servers'][$i]['pma__usergroups'] ...

It works in safari but still fails in chrome.它在 safari 中有效,但在 chrome 中仍然失败。
But the so called 'work' in safari can get the message that the features which have been modified are not in effect at all.但是safari中所谓的'work'可以得到这样的信息,即已修改的功能根本无效。
However, the 'work' means that I can access the dbs listed left.但是,“工作”意味着我可以访问左侧列出的数据库。
I think this problem maybe a bug in the new version of XAMPP, since the #1932 problems in google is new and boomed.我认为这个问题可能是 XAMPP 新版本中的一个错误,因为 google 中的 #1932 问题是新的并且蓬勃发展。
You can have a try at an older version of XAMPP instead until the bug is solved.您可以尝试使用旧版本的 XAMPP,直到问题得到解决。
http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/5.6.12/ http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/5.6.12/
Hope it can help you.希望它可以帮助你。

you need to download the previous version, xampp actually present bug in its latest version.您需要下载以前的版本,xampp 实际上在其最新版本中存在错误。

Good Luck!祝你好运!

If all the solutions above don't work, try to :如果上述所有解决方案都不起作用,请尝试:

Add $i = 1;添加 $i = 1; after /* Servers configuration */ /* 服务器配置后 */

in place of $i = 0 in your phpmyadmin config.inc.php file代替 phpmyadmin config.inc.php 文件中的 $i = 0

Running XAMPP on local windows server, my mysql data files are not under the usual install path (C:\\Xampp), but on another disk.在本地 Windows 服务器上运行 XAMPP,我的 mysql 数据文件不在通常的安装路径 (C:\\Xampp) 下,而是在另一个磁盘上。

So now I have the phpmyadmin tables with the double __ like pma__table... and $i = 1;所以现在我有了带有双 __ 的 phpmyadmin 表,比如 pma__table... 和 $i = 1;

我遇到了类似的问题,并将地址从localhost更改为127.0.0.1,一切开始正常运行

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 (XAMPP)Linux:MySQL说:文档#1932-表&#39;phpmyadmin.pma__column_info&#39;在引擎中不存在 - (XAMPP) Linux :MySQL said: Documentation #1932 - Table 'phpmyadmin.pma__column_info' doesn't exist in engine MySQL phpMyAdmin:错误 #1932 - 引擎中不存在表 - MySQL phpMyAdmin: Error #1932 - Table doesn't exist in engine phpMyAdmin 错误 1932 - 引擎中不存在表 - phpMyAdmin error 1932 - table doesn't exist in engine MySql - 错误代码:1932。引擎中不存在表 - MySql - Error Code: 1932. Table doesn't exist in engine 创建表后出现MySQL错误消息:#1146-表&#39;&#39;phpmyadmin.pma_table_uiprefs&#39;不存在 - MySQL error message after creating table: #1146 - Table ''phpmyadmin.pma_table_uiprefs' doesn't exist Xampp-mysql - “引擎中不存在表”#1932 - Xampp-mysql - "Table doesn't exist in engine" #1932 #1932 引擎中不存在表 &#39;tablename&#39; - #1932 table 'tablename' doesn't exist in engine 在my.ini中更改datadir后,Mysql错误#1932“引擎中不存在表” - Mysql error #1932 “Table doesn't exist in engine” after changing datadir in my.ini 备份XAMPP目录并尝试复制mysql目录,但引擎错误中不存在获取phpmyadmin.pma__tracking&#39; - Backed up XAMPP directory and trying to copy mysql directory but getting phpmyadmin.pma__tracking' doesn't exist in engine error PhpMyAdmin 问题“phpmyadmin.pma_table_uirefs”不存在 - PhpMyAdmin Issue 'phpmyadmin.pma_table_uiprefs' doesn't exist
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM