MySQL错误-#1932-引擎中不存在表'phpmyadmin.pma user config'

smo*_*oke 9 mysql apache xampp phpmyadmin

我正在尝试使用XAMPP在My​​SQL中设置数据库。我正在通过localhost上的phpMyAdmin执行此操作(Apache正在运行)。就我而言,唯一的操作是输入一个新的未使用的数据库名称,单击“创建并...”。

发生此错误:

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
Run Code Online (Sandbox Code Playgroud)

#1932-表'phpmyadmin.pma__tracking'在引擎中不存在

该数据库显示在数据库列表中。如果您单击一个,则将花费一整天的时间才能加载。

我曾尝试在堆栈和其他地方研究和实现其他1932年错误解决方案,但无济于事。

以下是我正在使用的技术的以下版本:

  • OS X El Capitan-10.11.1
  • 服务器版本:Apache / 2.4.16(Unix)
  • PHP 5.6.15(我必须使用-intl扩展名重新安装,因为CakePHP抱怨存在依赖性)
  • CakePHP 3.0(这需要安装Composer才能从命令行使用CakePHP,我认为它是从PHP运行的)
  • 适用于osx10.11(x86_64)的mySQL Ver 14.14 Distrib 5.7.9
  • XAMPP 5.6.14-4

我已经阅读了各种解决方案,例如在Linux上运行它或使用XAMPP的较早版本等。我发现那里有一个更聪明的人可能知道该解决方案。我主要也很难尝试去研究哪里。

如果有人能指出我正确的方向,我将不胜感激!

小智 21

如果有人仍面临这个问题,对我来说它开始我改变了我的后发生mysql/datamysql/backup早期解决的另一个问题。

尝试了很多方法,最后发现解决方法很简单!打开 PhPMyAdmin(在我的情况下它正在加载)后,只需单击 PhPMyAdmin 徽标正下方的此图标(重置会话)。一键解决问题!

对我来说,错误代码是#1142

PhpMyAdmin 重置会话

PhpMyAdmin 重置会话


小智 5

最后,我找到了解决方案。
扩展phpmyadmin数据库时,我们可以发现表'pma__tracking'确实存在。

但是#1932上的系统错误调用-表'phpmyadmin.pma__tracking'在引擎中不存在。

因此,只需尝试先删除旧的pma __ *数据库,然后再重新配置它们即可。

1.删​​除xampp安装路径中的错误表,并删除var / mysql / phpmyadmin /中的所有文件,类似于pma__bookmark.frm / pma__bookmark.ibd ...

2.重新安装phpmyadmin的sql,位于phpmyadmin / sql /(类似于“ create_tables.sql”),使用mysql <create_table.sql等运行它们。

然后它可以工作。


小智 5

我有同样的错误,将mysql/data文件夹更改为另一个文件夹时发生。
我只是将文件mysql/data夹中的所有文件夹复制到一个新位置,除了两个文件。这些是ib_logfile0ib_logfile1; 这些是在启动MySQL服务器时自动创建的。那对我有用。


小智 0

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/>.
     */
Run Code Online (Sandbox Code Playgroud)