Warning (2): PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known [CORE/Cake/Model/Datasource/Database/Mysql.php, line 158]

Fatal Error

Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created. #0 /var/app/current/lib/Cake/Model/Datasource/DboSource.php(262): Mysql->connect() #1 /var/app/current/lib/Cake/Model/ConnectionManager.php(108): DboSource->__construct(Array) #2 /var/app/current/lib/Cake/Model/Model.php(3215): ConnectionManager::getDataSource('default') #3 /var/app/current/lib/Cake/Model/Model.php(1108): Model->setDataSource('default') #4 /var/app/current/lib/Cake/Model/Model.php(3237): Model->setSource('cursos') #5 /var/app/current/lib/Cake/Model/Model.php(2694): Model->getDataSource() #6 /var/app/current/lib/Cake/Controller/Component/PaginatorComponent.php(196): Model->find('all', Array) #7 /var/app/current/lib/Cake/Controller/Controller.php(1074): PaginatorComponent->paginate(NULL, Array, Array) #8 /var/app/current/app/Controller/CursosController.php(534): Controller->paginate() #9 [internal function]: CursosController->buscar2('cursos-sobre-co...') #10 /var/app/current/lib/Cake/Controller/Contro
File: /var/app/current/lib/Cake/Error/ErrorHandler.php
Line: 132

Notice: If you want to customize this error message, create app/View/Errors/fatal_error.ctp