简体   繁体   English

我从 phpmyadmin 环境中导出数据库时出错

[英]i have a error in exporting database from phpmyadmin Environment

I created a database in a localhost/PHPMyAdmin environment with 5 tables.我在 localhost/PHPMyAdmin 环境中创建了一个包含 5 个表的数据库。 Using XAMPP.使用 XAMPP。 But after exporting it and re-importing it, my codes are not displayed correctly and the following code is displayed instead.但是导出并重新导入后,我的代码显示不正确,而是显示以下代码。 I open my database to XAMPP and SQL server management.我打开我的数据库到 XAMPP 和 SQL 服务器管理。 But both times the result was the same.但两次结果都是一样的。 Can anyone help me?谁能帮我?

I di this steps to export:我按以下步骤导出:

https://stackoverflow.com/questions/5778403/import-export-very-large-mysql-database-in-phpmyadmin/14984816



<div class="alert alert-danger" role="alert"><h1>Error</h1><p><strong>SQL query:</strong>  <a href="#" class="copyQueryBtn" data-text="SET time_zone = &quot;+00:00&quot;">Copy</a>
<a href="index.php?route=/database/sql&sql_query=SET+time_zone+%3D+%22%2B00%3A00%22&show_query=1&db=librarydb"><span class="nowrap"><img src="themes/dot.gif" title="Edit" alt="Edit" class="icon ic_b_edit">&nbsp;Edit</span></a>    </p>
<p>
<code class="sql"><pre>
SET time_zone = &quot;+00:00&quot;
</pre></code>
</p>
<p>
    <strong>MySQL said: </strong><a href="./url.php?url=https%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F8.0%2Fen%2Fserver-error-reference.html" target="mysql_doc"><img src="themes/dot.gif" title="Documentation" alt="Documentation" class="icon ic_b_help"></a>
</p>
<code>#1298 - Unknown or incorrect time zone: '+00:00'</code><br></div>

I had the same problem and I reset my phpadmin setting, worked.我有同样的问题,我重置了我的 phpadmin 设置,工作正常。

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

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