xampp phpmyadmin,格式参数不正确 [英] xampp phpmyadmin, Incorrect format parameter

查看:2456
本文介绍了xampp phpmyadmin,格式参数不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将我的客户端数据库(wordpress平台)导入localhost(使用xampp)。

Im trying to import the database of my client side (wordpress platform) to localhost (using xampp).

其他客户的网站工作正常,但这个特定网站除外。当我想导入它时,它只显示phpMyAdmin - 错误。格式参数不正确。 错误图片

Other clients' sites work OK, except for this one particular site. When I want to import it, it just showed "phpMyAdmin - Error. Incorrect format parameter". The error image

我试着用谷歌搜索它,但是在导入数据库时​​没有人有这个错误。

I tried googled it, but it's like no one having this error when importing a database.

你们有什么想法吗?随意问什么,我不确定我需要提供什么信息,因为我只是使用快速导出和导入设置我只是让它保持默认。

Do you guys have any idea? Feel free to ask anything, I'm not sure what information I need to provide since I just using quick exporting and the import setting I just let it remain default.

推荐答案

我最近遇到了同样的问题。 (我升级了XAMPP并需要将我的MySQL数据库从旧数据库导出到新数据库,并且在某些数据库上也出现了同样的错误)

I had the same problem recently. (I upgraded XAMPP and needed to export my MySQL databases from the old to the new and it gave the same error on some databases)

我做了这3件事并且有效:

I did these 3 things and it worked:


  1. 确保导出数据库的排序规则与新创建的数据库相同。

  1. Made sure the Collation of the exported database is the same as the newly created one.

在我的php.ini(xampp / php / php.ini)文件中进行了这些更改

Made these changes in my php.ini(xampp/php/php.ini) file

max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M
post_max_size = 750M
upload_max_filesize = 750M


  • 在我的\phpmyadmin \libraries\config.default.php文件中进行了此更改:

  • Made this change in my \phpmyadmin\libraries\config.default.php file:

    更改

    $cfg['ExecTimeLimit'] = 300;
    

    $cfg['ExecTimeLimit'] = 0;
    

    (所以没有限制)

    这篇关于xampp phpmyadmin,格式参数不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆