Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\misc\csv2sql.php on line 93 #6

Open
ashishpanchal1985 opened this issue May 19, 2018 · 3 comments

Comments

@ashishpanchal1985
Copy link

Hey,

I am trying to run it and it times-out after 30 sec with the above error. Can you tell me how to increase this timeout window for LOAD DATA LOCAL INLINE command?

Regards,
Ashish

@hashmap0x01
Copy link

Hey,

I am trying to run it and it times-out after 30 sec with the above error. Can you tell me how to increase this timeout window for LOAD DATA LOCAL INLINE command?

Regards,
Ashish

A detailed console log will be helpful to rectify the error

@godigi
Copy link

godigi commented Apr 10, 2019

It is not SQL timing out, but PHP execution time limit. Add the following to the beginning of the script:

<?php
set_time_limit(0);
?>

If that doesn't work, you will need to increase max script timeout in php.ini.

@Sadhik-Hussain
Copy link

Sadhik-Hussain commented Apr 16, 2020

replace default value of max_execution_time=30 to max_execution_time=120. it will work

in php.ini file of your server. find the file here ‘xampp/php/’.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants