Missing Database Table
Error: Database table users for model User was not found.
Notice: If you want to customize this error message, create app/views/errors/missing_table.ctp
Warning (2): mysql_connect() [http://php.net/function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 561]Code | Context$config = array( "persistent" => false, "host" => "*****", "login" => "*****", "password" => "*****", "database" => "*****", "port" => "*****", "driver" => "mysql", "prefix" => "*****", "encoding" => "utf8", "loading" => 0 )mysql_connect - [internal], line ?? DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 561 DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 143 ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 114 Model::setDataSource() - CORE/cake/libs/model/model.php, line 2848 Model::__construct() - CORE/cake/libs/model/model.php, line 469 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 150 CakeSession::__construct() - CORE/cake/libs/cake_session.php, line 180 SessionComponent::__construct() - APP/controllers/components/session.php, line 69 Component::_loadComponents() - CORE/cake/libs/controller/component.php, line 247 Component::init() - CORE/cake/libs/controller/component.php, line 78 AppController::__construct() - APP/app_controller.php, line 55 Dispatcher::__getController() - CORE/cake/dispatcher.php, line 391 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 116 [main] - APP/webroot/index.php, line 113
Warning (2): mysql_query() expects parameter 2 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 613]Code | Context$sql = "SHOW TABLES FROM `firstgen`;"mysql_query - [internal], line ?? DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 613 DboMysql::listSources() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 626 Model::setSource() - CORE/cake/libs/model/model.php, line 768 Model::__construct() - CORE/cake/libs/model/model.php, line 474 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 150 CakeSession::__construct() - CORE/cake/libs/cake_session.php, line 180 SessionComponent::__construct() - APP/controllers/components/session.php, line 69 Component::_loadComponents() - CORE/cake/libs/controller/component.php, line 247 Component::init() - CORE/cake/libs/controller/component.php, line 78 AppController::__construct() - APP/app_controller.php, line 55 Dispatcher::__getController() - CORE/cake/dispatcher.php, line 391 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 116 [main] - APP/webroot/index.php, line 113
Error: Database table users for model User was not found.
Notice: If you want to customize this error message, create app/views/errors/missing_table.ctp