gpt4 book ai didi

mysql - 导入数据库时​​ PMA-SQL-ERROR

转载 作者:行者123 更新时间:2023-11-30 22:43:30 30 4
gpt4 key购买 nike

在 xampp 中导入数据库时​​出现这些错误

SQL查询:

<!-- PMA-SQL-ERROR -->
<div class="error"><h1>Error</h1>
<p><strong>SQL query:</strong>
<a href="db_sql.php?sql_query=SHOW+TABLE+STATUS+FROM+%60berty12_embrace%60+WHERE+Name+%3D+%27wp_pTC_logs%27&amp;show_query=1&amp;db=berty12_embrace&amp;token=753b2640358f750ff66cbbe34e72abd6"><span class="nowrap"><img src="themes/dot.gif" title="Edit" alt="Edit" class="icon ic_b_edit" /> Edit</span></a> </p>
<p>
<code class="sql"><pre>
SHOW TABLE STATUS FROM `berty12_embrace` WHERE Name = 'wp_pTC_logs'
</pre></code>
</p>
<p>
<strong>MySQL said: </strong><a href="./url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.5%2Fen%2Ferror-messages-server.html" target="mysql_doc"><img src="themes/dot.gif" title="Documentation" alt="Documentation" class="icon ic_b_help" /></a>
</p>
<code>
#2006 - MySQL server has gone away
</code><br />
</div>

错误:

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '

Error

SQL query at line 1

最佳答案

该错误是由超出这些 MySQL 设置之一引起的:

wait_timeout
max_allowed_packet

您的主机或服务器人员需要在 MySQL 中增加这些设置。这里有更多信息:

http://dev.mysql.com/doc/refman/5.1/en/gone-away.html

关于mysql - 导入数据库时​​ PMA-SQL-ERROR,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30381304/

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