简体   繁体   English

无法在phpMyAdmin中监视数据库表

[英]Can't watch database tables in phpMyAdmin

Someone has posted the same issue here , but there was no solution. 有人在这里发布了相同的问题,但没有解决方案。

First, I created a database called "authentication", then I tried to add a table called "users" into it. 首先,我创建了一个名为“身份验证”的数据库,然后尝试向其中添加一个名为“ users”的表。 There's about 9 columns in "users". “用户”中大约有9列。 Here's the result phpMyAdmin returned after I clicked "save the table" : 这是我单击“保存表格”后返回的结果phpMyAdmin: 在此处输入图片说明

When I clicked the "Structure" tab, it returned: 当我单击“结构”选项卡时,它返回:

在此处输入图片说明

The report itself: 报告本身:

{
"exception": {
    "mode": "onerror",
    "message": "Uncaught TypeError: Cannot read property 'success' of null",
    "stack": [
        {
            "line": 237,
            "func": "responseHandler",
            "context": [
                "     * @param object e Event data",
                "     *",
                "     * @return void",
                "     */",
                "    responseHandler: function (data) {",
                "        if (data.success) {",
                "            $table_clone = false;",
                "            PMA_ajaxRemoveMessage(AJAX.$msgbox);",
                "",
                "            if (data._redirect) {",
                "                PMA_ajaxShowMessage(data._redirect, false);"
            ],
            "filename": "ajax.js"
        }
    ],
    "useragent": "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36",
    "uri": "sql.php?target="
},
"script_name": "sql.php",
"pma_version": "4.1.14",
"browser_name": "CHROME",
"browser_version": "34.0.1847.137",
"user_os": "Win",
"server_software": "Apache/2.4.9 (Win32) PHP/5.5.12",
"user_agent_string": "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36",
"locale": "zh_TW",
"configuration_storage": "disabled",
"php_version": "5.5.12",
"microhistory": {
    "pages": [
        {
            "hash": "sql.php?db=authentication&table=users&server=1&target=&token=ee222111c1b2c1e1b27850fed7dba5cb"
        }
    ],
    "current_index": "1"
}

} }

Some properties here: 这里的一些属性:
OS: Windows 8 作业系统:Windows 8
CMS: Wamp 2.5 CMS:Wamp 2.5
Apache : 2.4.9 阿帕奇:2.4.9
MySQL : 5.6.17 MySQL的:5.6.17
PHP : 5.5.12 PHP的:5.5.12
PHPMyAdmin : 4.1.1 PHPMyAdmin的:4.1.1

I've encountered the same problem as you shown with the XAMPP 1.8.3 version. 我遇到了与XAMPP 1.8.3版本相同的问题。

And after I tried another version: XAMPP 1.8.2, this problem is solved. 在尝试了另一个版本:XAMPP 1.8.2之后,此问题已解决。

So I recommend you to try XAMPP 1.8.2 version and see whether the problem is solved. 因此,我建议您尝试使用XAMPP 1.8.2版本,看看问题是否已解决。

Thanks, Jeff 谢谢杰夫

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM