博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
How to fix phpmyadmin error, incorrect format parameter that appeared while importing a database?
阅读量:5046 次
发布时间:2019-06-12

本文共 1915 字,大约阅读时间需要 6 分钟。

phpMyAdmin Error - incorrect format parameter might appear due to multiple reasons such as:

  • Execution of a script exceeding the defined maximum execution time.
  • Parsing of requested input data exceeds the defined maximum input parsing time.
  • Script needing operating memory higher than the one defined in memory limit.
  • Size of post data higher than the defined maximum post data size.
  • Size of the file being uploaded higher than the defined maximum file size.

All of the above stated settings are defined in php.ini file whose path is xampp/php/php.ini. You can open the xampp application and click on the config option beside the apache controls and click on the php.ini from the dropdown list that appears.

Search for the above stated settings with the help of the phrases stated below and set their values higher as needed. Here's my personal settings.

max_execution_time = 3000max_input_time = 60memory_limit = 128Mpost_max_size = 200Mupload_max_filesize = 200M

Apart from those changes, it's better to ensure the collation of the newly created database is exactly the same as the one which is being imported to avoid further issues within the application because of the characters.

Restart your apache server and check if it works for you. In most of the cases, this problem occurs because of the size of the database file being imported and the time it takes to get executed. You can compress the database file to a .zip file and try to import it.

If the error still exists, open the xampp/phpmyadmin/libraries/config.default.php and disable the script execution time limit. Search for the phrase ExecTimeLimit as show below.

$cfg['ExecTimeLimit'] = 300;

All you have to do is change the ExecTimeLimit value to 0 to get it disabled.

$cfg['ExecTimeLimit'] = 0;

Add a comment if your problem still persists and we'll try to explore it and get solutions.

转载于:https://www.cnblogs.com/andingding-blog/p/10067361.html

你可能感兴趣的文章
浅谈 @RequestParam 和@PathVariable
查看>>
NSEnumerator用法小结
查看>>
Sam做题记录
查看>>
C++的引用
查看>>
http://lorempixel.com/ 可以快速产生假图
查看>>
编写一个函数isMerge,判断一个字符串str是否可以由其他两个字符串part1和part2“组合”而成...
查看>>
文件操作
查看>>
NYOJ-613//HDU-1176-免费馅饼,数字三角形的兄弟~~
查看>>
graphite custom functions
查看>>
ssh无密码登陆屌丝指南
查看>>
一个自己写的判断2个相同对象的属性值差异的工具类
查看>>
oracle连接的三个配置文件(转)
查看>>
Java 8 中如何优雅的处理集合
查看>>
Centos下源码安装git
查看>>
控件发布:div2dropdownlist(div模拟dropdownlist控件)
查看>>
[置顶] 细说Cookies
查看>>
[wp7软件]wp7~~新闻资讯,阅读软件下载大全! 集合贴~~~
查看>>
二叉树的遍历问题总结
查看>>
聊天室(C++客户端+Pyhton服务器)_1.框架搭设
查看>>
绝对定位
查看>>