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(3239): ConnectionManager::getDataSource('default') #3 /var/app/current/lib/Cake/Model/Model.php(2694): Model->getDataSource() #4 /var/app/current/lib/Cake/Controller/Component/PaginatorComponent.php(196): Model->find('all', Array) #5 /var/app/current/lib/Cake/Controller/Controller.php(1074): PaginatorComponent->paginate(NULL, Array, Array) #6 /var/app/current/app/Controller/CursosController.php(534): Controller->paginate() #7 [internal function]: CursosController->buscar2() #8 /var/app/current/lib/Cake/Controller/Controller.php(486): ReflectionMethod->invokeArgs(Object(CursosController), Array) #9 /var/app/current/lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest)) #10
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