phpmyadmin数据库导出报错:Fatal error: Cannot 'break' 2 levels in phpmyadmin/export.php on line 560

Mysql · Fecmall · 于 4年前 发布 · 1765 次阅读

打开文件phpmyadmin/export.php ,找到代码560

if (isset($GLOBALS[$what . '_structure'])) {
        if (!PMA_exportStructure($db, $table, $crlf, $err_url, $do_relation, $do_comments, $do_mime, $do_dates, 'triggers', $export_type)) {
            break 2;
        }
    }

改成:

if (isset($GLOBALS[$what . '_structure'])) {
        if (!PMA_exportStructure($db, $table, $crlf, $err_url, $do_relation, $do_comments, $do_mime, $do_dates, 'triggers', $export_type)) {
            break;
        }
    }

即可。

共收到 2 条回复
Kittyfamous#14年前 0 个赞

去phpmyadmin官网重新下载对应php版本的phpmyadmin

Kittyfamous#24年前 0 个赞

你这改了 其它地方还要改。

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics