exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No such file or directory' in /home/sayasato/laravel/database/connectors/mysql.php:33 Stack trace: #0 /home/sayasato/laravel/database/connectors/mysql.php(33): PDO->__construct('mysql:host=loca...', 'sayasato_ibec', 'j49ds3lxf3jshk', Array) #1 /home/sayasato/laravel/database.php(66): Laravel\Database\Connectors\MySQL->connect(Array) #2 /home/sayasato/laravel/database.php(52): Laravel\Database::connect(Array) #3 /home/sayasato/laravel/database/eloquent/query.php(271): Laravel\Database::connection(NULL) #4 /home/sayasato/laravel/database/eloquent/query.php(261): Laravel\Database\Eloquent\Query->connection() #5 /home/sayasato/laravel/database/eloquent/query.php(50): Laravel\Database\Eloquent\Query->table() #6 /home/sayasato/laravel/database/eloquent/model.php(461): Laravel\Database\Eloquent\Query->__construct(Object(Core\Models\Setting)) #7 [internal function]: Laravel\Database\Eloquent\Model->_query() #8 /home/sayasato/laravel/database/eloquent/model.php(760): call_user_func_array(Array, Array) #9 /home/sayasato/laravel/database/eloquent/model.php(780): Laravel\Database\Eloquent\Model->__call('query', Array) #10 /home/sayasato/laravel/database/eloquent/model.php(780): Core\Models\Setting->query() #11 [internal function]: Laravel\Database\Eloquent\Model->__call('where', Array) #12 [internal function]: Core\Models\Setting->where('alias', '=', 'meta_title') #13 /home/sayasato/laravel/database/eloquent/model.php(795): call_user_func_array(Array, Array) #14 /home/sayasato/bundles/core/libraries/SettingHelper.php(10): Laravel\Database\Eloquent\Model::__callStatic('where', Array) #15 /home/sayasato/bundles/core/libraries/SettingHelper.php(10): Core\Models\Setting::where('alias', '=', 'meta_title') #16 /home/sayasato/bundles/core/controllers/frontendbase.php(27): SettingHelper::getSetting('meta_title') #17 /home/sayasato/laravel/routing/controller.php(228): Core_FrontendBase_Controller->__construct() #18 /home/sayasato/laravel/routing/controller.php(145): Laravel\Routing\Controller::resolve('articles', 'frontend.articl...') #19 /home/sayasato/laravel/routing/route.php(153): Laravel\Routing\Controller::call('articles::front...', Array) #20 /home/sayasato/laravel/routing/route.php(124): Laravel\Routing\Route->response() #21 /home/sayasato/laravel/laravel.php(169): Laravel\Routing\Route->call() #22 /home/sayasato/public_html/index.php(34): require('/home/sayasato/...') #23 {main} #end# PDOException Object ( [message:protected] => SQLSTATE[HY000] [2002] No such file or directory [string:Exception:private] => exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No such file or directory' in /home/sayasato/laravel/database/connectors/mysql.php:33 Stack trace: #0 /home/sayasato/laravel/database/connectors/mysql.php(33): PDO->__construct('mysql:host=loca...', 'sayasato_ibec', 'j49ds3lxf3jshk', Array) #1 /home/sayasato/laravel/database.php(66): Laravel\Database\Connectors\MySQL->connect(Array) #2 /home/sayasato/laravel/database.php(52): Laravel\Database::connect(Array) #3 /home/sayasato/laravel/database/eloquent/query.php(271): Laravel\Database::connection(NULL) #4 /home/sayasato/laravel/database/eloquent/query.php(261): Laravel\Database\Eloquent\Query->connection() #5 /home/sayasato/laravel/database/eloquent/query.php(50): Laravel\Database\Eloquent\Query->table() #6 /home/sayasato/laravel/database/eloquent/model.php(461): Laravel\Database\Eloquent\Query->__construct(Object(Core\Models\Setting)) #7 [internal function]: Laravel\Database\Eloquent\Model->_query() #8 /home/sayasato/laravel/database/eloquent/model.php(760): call_user_func_array(Array, Array) #9 /home/sayasato/laravel/database/eloquent/model.php(780): Laravel\Database\Eloquent\Model->__call('query', Array) #10 /home/sayasato/laravel/database/eloquent/model.php(780): Core\Models\Setting->query() #11 [internal function]: Laravel\Database\Eloquent\Model->__call('where', Array) #12 [internal function]: Core\Models\Setting->where('alias', '=', 'meta_title') #13 /home/sayasato/laravel/database/eloquent/model.php(795): call_user_func_array(Array, Array) #14 /home/sayasato/bundles/core/libraries/SettingHelper.php(10): Laravel\Database\Eloquent\Model::__callStatic('where', Array) #15 /home/sayasato/bundles/core/libraries/SettingHelper.php(10): Core\Models\Setting::where('alias', '=', 'meta_title') #16 /home/sayasato/bundles/core/controllers/frontendbase.php(27): SettingHelper::getSetting('meta_title') #17 /home/sayasato/laravel/routing/controller.php(228): Core_FrontendBase_Controller->__construct() #18 /home/sayasato/laravel/routing/controller.php(145): Laravel\Routing\Controller::resolve('articles', 'frontend.articl...') #19 /home/sayasato/laravel/routing/route.php(153): Laravel\Routing\Controller::call('articles::front...', Array) #20 /home/sayasato/laravel/routing/route.php(124): Laravel\Routing\Route->response() #21 /home/sayasato/laravel/laravel.php(169): Laravel\Routing\Route->call() #22 /home/sayasato/public_html/index.php(34): require('/home/sayasato/...') #23 {main} [code:protected] => 2002 [file:protected] => /home/sayasato/laravel/database/connectors/mysql.php [line:protected] => 33 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/sayasato/laravel/database/connectors/mysql.php [line] => 33 [function] => __construct [class] => PDO [type] => -> [args] => Array ( [0] => mysql:host=localhost;dbname=sayasato_ibec [1] => sayasato_ibec [2] => j49ds3lxf3jshk [3] => Array ( [8] => 2 [3] => 2 [11] => 0 [17] => [20] => 0 ) ) ) [1] => Array ( [file] => /home/sayasato/laravel/database.php [line] => 66 [function] => connect [class] => Laravel\Database\Connectors\MySQL [type] => -> [args] => Array ( [0] => Array ( [driver] => mysql [host] => localhost [database] => sayasato_ibec [username] => sayasato_ibec [password] => j49ds3lxf3jshk [charset] => utf8 [prefix] => ) ) ) [2] => Array ( [file] => /home/sayasato/laravel/database.php [line] => 52 [function] => connect [class] => Laravel\Database [type] => :: [args] => Array ( [0] => Array ( [driver] => mysql [host] => localhost [database] => sayasato_ibec [username] => sayasato_ibec [password] => j49ds3lxf3jshk [charset] => utf8 [prefix] => ) ) ) [3] => Array ( [file] => /home/sayasato/laravel/database/eloquent/query.php [line] => 271 [function] => connection [class] => Laravel\Database [type] => :: [args] => Array ( [0] => ) ) [4] => Array ( [file] => /home/sayasato/laravel/database/eloquent/query.php [line] => 261 [function] => connection [class] => Laravel\Database\Eloquent\Query [type] => -> [args] => Array ( ) ) [5] => Array ( [file] => /home/sayasato/laravel/database/eloquent/query.php [line] => 50 [function] => table [class] => Laravel\Database\Eloquent\Query [type] => -> [args] => Array ( ) ) [6] => Array ( [file] => /home/sayasato/laravel/database/eloquent/model.php [line] => 461 [function] => __construct [class] => Laravel\Database\Eloquent\Query [type] => -> [args] => Array ( [0] => Core\Models\Setting Object ( [attributes] => Array ( ) [original] => Array ( ) [relationships] => Array ( ) [exists] => [includes] => Array ( ) ) ) ) [7] => Array ( [function] => _query [class] => Laravel\Database\Eloquent\Model [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /home/sayasato/laravel/database/eloquent/model.php [line] => 760 [function] => call_user_func_array [args] => Array ( [0] => Array ( [0] => Core\Models\Setting Object ( [attributes] => Array ( ) [original] => Array ( ) [relationships] => Array ( ) [exists] => [includes] => Array ( ) ) [1] => _query ) [1] => Array ( ) ) ) [9] => Array ( [file] => /home/sayasato/laravel/database/eloquent/model.php [line] => 780 [function] => __call [class] => Laravel\Database\Eloquent\Model [type] => -> [args] => Array ( [0] => query [1] => Array ( ) ) ) [10] => Array ( [file] => /home/sayasato/laravel/database/eloquent/model.php [line] => 780 [function] => query [class] => Core\Models\Setting [type] => -> [args] => Array ( ) ) [11] => Array ( [function] => __call [class] => Laravel\Database\Eloquent\Model [type] => -> [args] => Array ( [0] => where [1] => Array ( [0] => alias [1] => = [2] => meta_title ) ) ) [12] => Array ( [function] => where [class] => Core\Models\Setting [type] => -> [args] => Array ( [0] => alias [1] => = [2] => meta_title ) ) [13] => Array ( [file] => /home/sayasato/laravel/database/eloquent/model.php [line] => 795 [function] => call_user_func_array [args] => Array ( [0] => Array ( [0] => Core\Models\Setting Object ( [attributes] => Array ( ) [original] => Array ( ) [relationships] => Array ( ) [exists] => [includes] => Array ( ) ) [1] => where ) [1] => Array ( [0] => alias [1] => = [2] => meta_title ) ) ) [14] => Array ( [file] => /home/sayasato/bundles/core/libraries/SettingHelper.php [line] => 10 [function] => __callStatic [class] => Laravel\Database\Eloquent\Model [type] => :: [args] => Array ( [0] => where [1] => Array ( [0] => alias [1] => = [2] => meta_title ) ) ) [15] => Array ( [file] => /home/sayasato/bundles/core/libraries/SettingHelper.php [line] => 10 [function] => where [class] => Core\Models\Setting [type] => :: [args] => Array ( [0] => alias [1] => = [2] => meta_title ) ) [16] => Array ( [file] => /home/sayasato/bundles/core/controllers/frontendbase.php [line] => 27 [function] => getSetting [class] => SettingHelper [type] => :: [args] => Array ( [0] => meta_title ) ) [17] => Array ( [file] => /home/sayasato/laravel/routing/controller.php [line] => 228 [function] => __construct [class] => Core_FrontendBase_Controller [type] => -> [args] => Array ( ) ) [18] => Array ( [file] => /home/sayasato/laravel/routing/controller.php [line] => 145 [function] => resolve [class] => Laravel\Routing\Controller [type] => :: [args] => Array ( [0] => articles [1] => frontend.articles ) ) [19] => Array ( [file] => /home/sayasato/laravel/routing/route.php [line] => 153 [function] => call [class] => Laravel\Routing\Controller [type] => :: [args] => Array ( [0] => articles::frontend.articles@view [1] => Array ( [0] => 1823-rejting-akimov-itogi-djekabrja ) ) ) [20] => Array ( [file] => /home/sayasato/laravel/routing/route.php [line] => 124 [function] => response [class] => Laravel\Routing\Route [type] => -> [args] => Array ( ) ) [21] => Array ( [file] => /home/sayasato/laravel/laravel.php [line] => 169 [function] => call [class] => Laravel\Routing\Route [type] => -> [args] => Array ( ) ) [22] => Array ( [file] => /home/sayasato/public_html/index.php [line] => 34 [args] => Array ( [0] => /home/sayasato/laravel/laravel.php ) [function] => require ) ) [previous:Exception:private] => [errorInfo] => ) error...