Forums | Mahara Community

Developers /
Could not execute command:


anonymous profile picture
Deleted user
Posts: 3

13 November 2009, 9:00 AM

while installing i m getting error

plz help me

Could not execute command: CREATE TABLE config ( field VARCHAR(255) NOT NULL, value TEXT, CONSTRAINT PRIMARY KEY (field) )ENGINE=innodb
Call stack (most recent first):

    * execute_sql("CREATE TABLE config ( field VARCHAR(255) NOT N...", true) at D:\www\mahara\lib\dml.php:1368
    * execute_sql_arr(array(size 222)) at D:\www\mahara\lib\ddl.php:566
    * install_from_xmldb_file("D:\www\mahara/lib/db/install.xml") at D:\www\mahara\lib\upgrade.php:293
    * upgrade_core(object(stdClass)) at D:\www\mahara\admin\upgrade.json.php:93

firstcoredata            

 

 

Regards

Riyaz P

 

anonymous profile picture
Deleted user
Posts: 1643

15 November 2009, 6:33 PM

That normally means that you tried installing once and it failed, and now you're trying again and it's failing because the config table already exists from your previous (failed) installation.

Drop and recreate your database, then try again. 

anonymous profile picture
Deleted user
Posts: 3

16 November 2009, 1:17 AM

i m Droped  and recreate my  database, but still getting same errror

 %3Ca%20mce_thref=Free Image Hosting at www.ImageShack.us

QuickPost Quickpost this image to Myspace, Digg, Facebook, and others!" mce_src="Free Image Hosting at www.ImageShack.us

QuickPost Quickpost this image to Myspace, Digg, Facebook, and others!" alt="" border="" hspace="" vspace="" width="" height="" align="" />

anonymous profile picture
Deleted user
Posts: 3

16 November 2009, 1:18 AM

i m installing in window xp,

plz solve my problem 

Regards

Riyaz 

 

anonymous profile picture
Deleted user
Posts: 12

28 September 2011, 6:29 AM

Try to increase php

max_execution_time

as sometimes installation timeout.

5 results