简体   繁体   中英

mySQL fatal error execution time exceeded

I was using mysql and everything was fine until he last time I accessed but today I found this when I started mysql-xampp:

Fatal error: Maximum execution time of 30 seconds exceeded in C:\\xampp\\phpMyAdmin\\libraries\\dbi\\DBIMysqli.class.php on line 258

My phpmyadmin/config.inc.php already has the line $cfg['ExecTimeLimit'] = 6000; .

Try these different settings in C:\\xampp/php/php.ini

Find:

post_max_size = 8M
upload_max_filesize = 2M
max_execution_time = 30
max_input_time = 60
memory_limit = 8M

Change to:

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

And add this to C:\\xampp\\mysql\\bin\\my.ini:

max_allowed_packet = 200M

Then restart xampp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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