gpt4 book ai didi

sql - 错误: Unknown Punctuation String @ 7

转载 作者:行者123 更新时间:2023-11-29 14:55:22 25 4
gpt4 key购买 nike

我正在尝试将旧的 phpBB 论坛数据库移动到新服务器。因此,当我下载 .sql 文件时,我尝试通过 phpMyAdmin 面板将其上传到新数据库。这是我收到的错误:

<pre>Error

There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unknown Punctuation String @ 7
STR: />
SQL:

<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at webiste/includes/acp/acp_database.php:593) in <b>website/includes/functions.php</b> on line <b>3582</b><br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" dir="ltr"><head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><title>General Error</title><style type="text/css">
/* <![CDATA[ */
* { margin: 0;


SQL query:


Warning: Cannot modify header information - headers already sent by (output started at /homepages/24/d172572039/htdocs/GhostsofOnyx/includes/acp/acp_database.php:593) in /homepages/24/d172572039/htdocs/GhostsofOnyx/includes/functions.php on line 3582<code>

我需要更改或修复什么才能完全上传文件?感谢您的帮助!

最佳答案

在第 7 行你有

* { 边距:0;

; 符号表示 SQL 查询的结束。显然,在这种情况下,如果查询结束,服务器不知道该怎么做,因此会出现错误。

您需要指定一个新的分隔符(我经常使用|),以便 phpMyAdmin 知道脚本何时完成。

关于sql - 错误: Unknown Punctuation String @ 7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4765711/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com