【发布时间】:2020-12-11 20:08:21
【问题描述】:
我正在使用 Xampp Server 127.0.0.1 版本:10.1.9-MariaDB PHP/5.6.15 phpMyAdmin 4.5.1 Apache 2.4.17 并且数据库在我的网站上运行良好,然后我制作了一个备份副本并重新安装了 Xampp现在我尝试导入我的数据库我收到这些错误,我无法导入数据库,如果我无法将它导入 Xampp Thin 我无法修复! 分析发现8个错误。
Variable name was expected. (near " " at position 22)
Variable name was expected. (near " " at position 32)
Unexpected beginning of statement. (near "br" at position 1)
Unexpected beginning of statement. (near "b" at position 8)
Unexpected beginning of statement. (near "Warning" at position 10)
Unexpected beginning of statement. (near "b" at position 19)
Unexpected beginning of statement. (near ":" at position 21)
Unrecognized statement type. (near "Unknown" at position 24)
SQL 查询:复制
警告:未知:输入变量超过 1000。要增加 限制更改 php.ini 中的 max_input_vars。在未知上线 0
-- phpMyAdmin SQL 转储 -- 版本 4.5.1 -- http://www.phpmyadmin.net -- -- 主机:127.0.0.1 -- 生成时间: 2020 年 8 月 17 日下午 7:33 -- 服务器版本:10.1.9-MariaDB -- PHP 版本:5.6.15 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"
MySQL 说:文档
#1064 - 您的 SQL 语法有错误;检查与您的 MariaDB 服务器版本相对应的手册,以了解要使用的正确语法 '
警告附近:未知:输入变量超过 1000。 在第 1 行增加 t...'
【问题讨论】:
-
这很难读。你能格式化问题吗?如果不熟悉,请参阅stackoverflow.com/editing-help。这听起来也只是一个 mysql 任务,你想从 PHP 中恢复吗?
-
this 有帮助吗?
-
这能回答你的问题吗? PHP max_input_vars