MissingConnectionException Object
(
    [message:protected] => Database connection "Mysql" is missing, or could not be created.
    [string:Exception:private] => 
    [code:protected] => 500
    [file:protected] => /srv/d_www42/www/clients/client25/web36/web/lib/Cake/Model/Datasource/Database/Mysql.php
    [line:protected] => 165
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/lib/Cake/Model/Datasource/DboSource.php
                    [line] => 278
                    [function] => connect
                    [class] => Mysql
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/lib/Cake/Model/ConnectionManager.php
                    [line] => 107
                    [function] => __construct
                    [class] => DboSource
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/app/Model/Behavior/TranslateBehavior.php
                    [line] => 66
                    [function] => getDataSource
                    [class] => ConnectionManager
                    [type] => ::
                )

            [3] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/lib/Cake/Model/BehaviorCollection.php
                    [line] => 150
                    [function] => setup
                    [class] => TranslateBehavior
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/lib/Cake/Model/BehaviorCollection.php
                    [line] => 68
                    [function] => load
                    [class] => BehaviorCollection
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/lib/Cake/Model/Model.php
                    [line] => 748
                    [function] => init
                    [class] => BehaviorCollection
                    [type] => ->
                )

            [6] => Array
                (
                    [function] => __construct
                    [class] => Model
                    [type] => ->
                )

            [7] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/lib/Cake/Utility/ClassRegistry.php
                    [line] => 168
                    [function] => newInstance
                    [class] => ReflectionClass
                    [type] => ->
                )

            [8] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/lib/Cake/Controller/Controller.php
                    [line] => 738
                    [function] => init
                    [class] => ClassRegistry
                    [type] => ::
                )

            [9] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/app/Controller/AppController.php
                    [line] => 136
                    [function] => loadModel
                    [class] => Controller
                    [type] => ->
                )

            [10] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/app/Controller/PagesController.php
                    [line] => 125
                    [function] => constructPage
                    [class] => AppController
                    [type] => ->
                )

            [11] => Array
                (
                    [function] => display
                    [class] => PagesController
                    [type] => ->
                )

            [12] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/lib/Cake/Controller/Controller.php
                    [line] => 492
                    [function] => invokeArgs
                    [class] => ReflectionMethod
                    [type] => ->
                )

            [13] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/lib/Cake/Routing/Dispatcher.php
                    [line] => 190
                    [function] => invokeAction
                    [class] => Controller
                    [type] => ->
                )

            [14] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/lib/Cake/Routing/Dispatcher.php
                    [line] => 163
                    [function] => _invoke
                    [class] => Dispatcher
                    [type] => ->
                )

            [15] => Array
                (
                    [file] => /srv/d_www42/www/clients/client25/web36/web/app/webroot/index.php
                    [line] => 107
                    [function] => dispatch
                    [class] => Dispatcher
                    [type] => ->
                )

        )

    [previous:Exception:private] => 
    [_responseHeaders:protected] => 
    [_attributes:protected] => Array
        (
            [class] => Mysql
            [message] => SQLSTATE[HY000] [2002] Connection refused
            [enabled] => 1
        )

    [_messageTemplate:protected] => Database connection "%s" is missing, or could not be created.
)
CakePHP: the rapid development php framework: Errors

Database connection "Mysql" is missing, or could not be created.

Error: An Internal Error Has Occurred.

Stack Trace