USB install - MySQL timeout - how to increase?
Posted: 26. March 2011 01:23
I have installed XAMPP on a USB stick as I am building a website for a friend so I want a portable option. The website (opencart) uses a MySQL database. The first step is an install routine that creates the tables in an already created database. The install, that runs just fine on my PC, fails with the following error.
I have edited the php.ini in the opencart folder and changed the mysql.connect_timeout = entry from 20 to 60; but that made no difference.
In phpMyAdmin, looking at the Variables tab there are a few time related entries but no way of editing them.
After some digging I looked at config.inc.php where there is only one time related line but I am not sure what it is for.
Can anyone suggest where I need to make a change to increase the script processing time-out?
- Code: Select all
Fatal error: Maximum execution time of 30 seconds exceeded in J:\xampp\htdocs\oc\install\model\install.php on line 27
I have edited the php.ini in the opencart folder and changed the mysql.connect_timeout = entry from 20 to 60; but that made no difference.
In phpMyAdmin, looking at the Variables tab there are a few time related entries but no way of editing them.
After some digging I looked at config.inc.php where there is only one time related line but I am not sure what it is for.
- Code: Select all
$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
Can anyone suggest where I need to make a change to increase the script processing time-out?