I'm trying to set up a development server and am trying to install drupal (using the ubercart delux installation package) on it, but and when I get to the step to configure database I hit a problem. I put in the database name and user name, click save configuration, and I get this error:

Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\includes\database.mysql.inc on line 153

Anyone have any idea what might be going wrong?

Comments

cumber8’s picture

I tried to increase the max execution time by changing the resource limits in WAMP's php.ini file to greater than 30 seconds (change to: max_execution_time = 120). Apparently it didn't work because I tried install again and got this error:

Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\includes\database.mysql.inc on line 153

Warning: Table 'watchdog' was not locked with LOCK TABLES query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'sessions' was not locked with LOCK TABLES\nquery: SELECT sid FROM sessions WHERE sid = '49h29fah4m8gsus0s09lcsvca3' in C:\\wamp\\www\\includes\\database.mysql.inc on line 172.', 2, '', 'http://localhost/install.php?profile=ubercart_deluxe', 'http://localhost/install.php?profile=ubercart_deluxe', '127.0.0.1', 1221418393) in C:\wamp\www\includes\database.mysql.inc on line 172

Warning: Table 'watchdog' was not locked with LOCK TABLES query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'sessions' was not locked with LOCK TABLES\nquery: INSERT INTO sessions (sid, uid, cache, hostname, session, timestamp) VALUES ('49h29fah4m8gsus0s09lcsvca3', 0, 0, '127.0.0.1', '', 1221418393) in C:\\wamp\\www\\includes\\database.mysql.inc on line 172.', 2, '', 'http://localhost/install.php?profile=ubercart_deluxe', 'http://localhost/install.php?profile=ubercart_deluxe', '127.0.0.1', 1221418393) in C:\wamp\www\includes\database.mysql.inc on line 172

gmitchel850’s picture

This can happen. Another common issue is the database configuration never completes.

Try editing the $db_url = string in the settings.ini file, which is located in the sites/default folder for your Drupal installation.

This has plagued many Windows installations.

Cheers,

Mitch