Database errors

nvsravank

Joined: 2009-04-22
Posts: 1
Posted: Sat, 2009-05-02 07:00

I had trouble getting gallery 3 installed on my mac, but after installing finally, and getting the connection to work correctly, i am getting this error after the database installation is done and i click on the link to stat using the gallery.

I checked and the table exists in the database. So that shouldnt be the problem.
Any help is appreciated.

Database Error

A database error occurred while performing the requested procedure. Please review the database error below for more information.

kohana/libraries/drivers/Database/Mysql.php [322]:

Table vars does not exist in your database.
Stack Trace

* kohana/libraries/Database.php [1234]:

Database_Mysql_Driver->list_fields( vars )

* kohana/libraries/ORM.php [897]:

Database_Core->list_fields( vars, 1 )

* kohana/libraries/ORM.php [154]:

ORM_Core->reload_columns( )

* kohana/libraries/ORM.php [104]:

ORM_Core->__initialize( )

* kohana/libraries/ORM.php [82]:

ORM_Core->__construct( )

* core/helpers/module.php [204]:

ORM_Core::factory( var )

* core/libraries/I18n.php [65]:

module_Core::get_var( core, default_locale )

*

I18n_Core::instance( )

* kohana/core/Event.php [209]:

call_user_func( Array
(
[0] => I18n
[1] => instance
)
)

* kohana/core/Bootstrap.php [46]:

Event::run( system.ready )

* index.php [61]:

require( kohana/core/Bootstrap.php )

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2009-05-03 23:40

Weird, it looks like the install misfired. Can you delete the database and everything under the var dir and try installing again?