500 - SQLSTATE[HY000] [1040] Too many connections @ /events/2020 exception 'PDOException' with message 'SQLSTATE[HY000] [1040] Too many connections' in /home/capstone/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:47 Stack trace: #0 /home/capstone/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(47): PDO->__construct('mysql:host=loca...', 'capstone_sqlusr', 'Iv82V#FFC21', Array) #1 /home/capstone/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(20): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array) #2 /home/capstone/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(57): Illuminate\Database\Connectors\MySqlConnector->connect(Array) #3 /home/capstone/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(46): Illuminate\Database\Connectors\ConnectionFactory->createSingleConnection(Array) #4 /home/capstone/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(176): Illuminate\Database\Connectors\ConnectionFactory->make(Array, 'mysql') #5 /home/capstone/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(64): Illuminate\Database\DatabaseManager->makeConnection('mysql') #6 /home/capstone/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2922): Illuminate\Database\DatabaseManager->connection(NULL) #7 /home/capstone/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2888): Illuminate\Database\Eloquent\Model::resolveConnection(NULL) #8 /home/capstone/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1849): Illuminate\Database\Eloquent\Model->getConnection() #9 /home/capstone/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1790): Illuminate\Database\Eloquent\Model->newBaseQueryBuilder() #10 /home/capstone/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1764): Illuminate\Database\Eloquent\Model->newQueryWithoutScopes() #11 /home/capstone/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(656): Illuminate\Database\Eloquent\Model->newQuery() #12 /home/capstone/app/controllers/AthlonsController.php(193): Illuminate\Database\Eloquent\Model::find('2020') #13 [internal function]: AthlonsController->show('2020') #14 /home/capstone/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(231): call_user_func_array(Array, Array) #15 /home/capstone/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(93): Illuminate\Routing\Controller->callAction('show', Array) #16 /home/capstone/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(62): Illuminate\Routing\ControllerDispatcher->call(Object(AthlonsController), Object(Illuminate\Routing\Route), 'show') #17 /home/capstone/vendor/laravel/framework/src/Illuminate/Routing/Router.php(967): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'AthlonsControll...', 'show') #18 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}('2020') #19 /home/capstone/vendor/laravel/framework/src/Illuminate/Routing/Route.php(109): call_user_func_array(Object(Closure), Array) #20 /home/capstone/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1033): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request)) #21 /home/capstone/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1001): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #22 /home/capstone/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(775): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #23 /home/capstone/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(745): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #24 /home/capstone/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(471): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #25 /home/capstone/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(428): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Illuminate\Http\Request), true) #26 /home/capstone/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(328): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Illuminate\Http\Request), true) #27 /home/capstone/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(192): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Illuminate\Http\Request), true) #28 /home/capstone/vendor/barryvdh/laravel-debugbar/src/Middleware/Stack.php(34): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Illuminate\Http\Request), 1, true) #29 /home/capstone/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Barryvdh\Debugbar\Middleware\Stack->handle(Object(Illuminate\Http\Request), 1, true) #30 /home/capstone/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #31 /home/capstone/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #32 /home/capstone/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #33 /home/capstone/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(641): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #34 /home/capstone/public_html/index.php(99): Illuminate\Foundation\Application->run() #35 {main}Error in exception handler.