问题描述
我有一个WordPress生产网站.
I have a WordPress production website.
我已经通过以下命令导出了数据库:select database > export > custom > select all tables > select .zip compression > 'Go'
I've exported the database by the following commands: select database > export > custom > select all tables > select .zip compression > 'Go'
我已经下载了example.sql.zip文件,但是当我上传到本地主机时出现此错误:phpMyAdmin - Error > Incorrect format parameter
I've downloaded the file which is example.sql.zip but when I upload to my localhost I get this error: phpMyAdmin - Error > Incorrect format parameter
我尝试使用其他格式导出,但遇到相同的错误.
I've tried to export with other formats and I get the same error.
我已经尝试过使用其他SQL数据库,并且可以导出/导入.
I've tried with other SQL Databases and it exports/ imports just fine.
可能是什么?数据库损坏或其他损坏?
What could it be? A corrupt database or other?
谢谢
推荐答案
此问题不是由于数据库损坏引起的.我从该视频中找到了解决方案- https://www.youtube.com/watch?v=MqOsp54EA3I
This issue is not because of corrupt database.I found the solution from this video - https://www.youtube.com/watch?v=MqOsp54EA3I
建议增加php.ini文件中两个变量的值.在php.ini中更改以下内容
It is suggested to increase the values of two variables in php.ini file.Change following in php.ini
upload_max_filesize=64M
post_max_size=64M
这解决了我的问题.希望也能解决您的问题.
This solved my issue. Hope solves yours too.
这篇关于phpMyAdmin-错误>格式参数不正确?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!