Forums | Mahara Community

Support /
Error in Core


anonymous profile picture
Deleted user
Posts: 1

15 September 2010, 3:32 PM

Hello, In the installation of mahara 1.3  I have an error in Core, I cannot solve, can 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() at /usr/home/trainingservices/www/connect/htdocs/lib/dml.php:1406
  • execute_sql_arr() at /usr/home/trainingservices/www/connect/htdocs/lib/ddl.php:566
  • install_from_xmldb_file("CREATE TABLE config ( field VARCHAR(255) NOT N...", true) at /usr/home/trainingservices/www/connect/htdocs/lib/upgrade.php:297
  • upgrade_core(array(size 151)) at /usr/home/trainingservices/www/connect/htdocs/admin/upgrade.json.php:93
anonymous profile picture
Deleted user
Posts: 808

15 September 2010, 4:54 PM

Leonardo,

'config' is the first table that gets created.  The most common cause of this error is trying to install into a database that already exists.  Try dropping the db and creating it again.

2 results