Unhandled Exception

Message:

SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)

Location:

/server/sites/poll/laravel/database/connectors/mysql.php on line 33

Stack Trace:

#0 /server/sites/poll/laravel/database/connectors/mysql.php(33): PDO->__construct('mysql:host=loca...', 'poll', 'ydUyMMjwx7SMZze...', Array)
#1 /server/sites/poll/laravel/database.php(66): Laravel\Database\Connectors\MySQL->connect(Array)
#2 /server/sites/poll/laravel/database.php(52): Laravel\Database::connect(Array)
#3 /server/sites/poll/laravel/database/eloquent/query.php(255): Laravel\Database::connection(NULL)
#4 /server/sites/poll/laravel/database/eloquent/query.php(245): Laravel\Database\Eloquent\Query->connection()
#5 /server/sites/poll/laravel/database/eloquent/query.php(50): Laravel\Database\Eloquent\Query->table()
#6 /server/sites/poll/laravel/database/eloquent/model.php(472): Laravel\Database\Eloquent\Query->__construct(Object(Food))
#7 /server/sites/poll/laravel/database/eloquent/model.php(247): Laravel\Database\Eloquent\Model->query()
#8 /server/sites/poll/application/controllers/poll.php(9): Laravel\Database\Eloquent\Model::all()
#9 [internal function]: Poll_Controller->get_index()
#10 /server/sites/poll/laravel/routing/controller.php(325): call_user_func_array(Array, Array)
#11 /server/sites/poll/laravel/routing/controller.php(285): Laravel\Routing\Controller->response('index', Array)
#12 /server/sites/poll/laravel/routing/controller.php(165): Laravel\Routing\Controller->execute('index', Array)
#13 /server/sites/poll/laravel/routing/route.php(153): Laravel\Routing\Controller::call('poll@index', Array)
#14 /server/sites/poll/laravel/routing/route.php(124): Laravel\Routing\Route->response()
#15 /server/sites/poll/laravel/laravel.php(165): Laravel\Routing\Route->call()
#16 /server/sites/poll/public/index.php(34): require('/server/sites/p...')
#17 {main}