{"action":"opened","issue":{"url":"https://api.github.com/repos/dizda/CloudBackupBundle/issues/52","labels_url":"https://api.github.com/repos/dizda/CloudBackupBundle/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/dizda/CloudBackupBundle/issues/52/comments","events_url":"https://api.github.com/repos/dizda/CloudBackupBundle/issues/52/events","html_url":"https://github.com/dizda/CloudBackupBundle/issues/52","id":57916110,"number":52,"title":"Can't connect to local MySQL server through socket","user":{"login":"iwazaru","id":5627688,"avatar_url":"https://avatars.githubusercontent.com/u/5627688?v=3","gravatar_id":"","url":"https://api.github.com/users/iwazaru","html_url":"https://github.com/iwazaru","followers_url":"https://api.github.com/users/iwazaru/followers","following_url":"https://api.github.com/users/iwazaru/following{/other_user}","gists_url":"https://api.github.com/users/iwazaru/gists{/gist_id}","starred_url":"https://api.github.com/users/iwazaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwazaru/subscriptions","organizations_url":"https://api.github.com/users/iwazaru/orgs","repos_url":"https://api.github.com/users/iwazaru/repos","events_url":"https://api.github.com/users/iwazaru/events{/privacy}","received_events_url":"https://api.github.com/users/iwazaru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-17T12:03:08Z","updated_at":"2015-02-17T12:03:08Z","closed_at":null,"body":"I'm trying to configure CloudBackupBundle to work in my developpement environnement (MAMP Pro). But when I try `php app/console dizda:backup:start` I get the following error :\r\n\r\n    [RuntimeException]\r\n    Warning: Using a password on the command line interface can be insecure.\r\n    mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect\r\n\r\nOther console commands using mysql like `php app/console doctrine:schema:update` are working fine. Am I doing something wrong here ?\r\n\r\nHere is my `config.yml` \r\n\r\n    dizda_cloud_backup:\r\n        # By default backup files will have your servers hostname as prefix\r\n        # such as: hostname_2014-01-01_21-08-39.tar\r\n        output_file_prefix: ~\r\n        timeout: 300\r\n        error_notification:\r\n            from: test@example.com\r\n            to: [ test@example.com ]\r\n        processor:\r\n            type: tar # Required: tar|zip|7z\r\n        folders: [ web/uploads ]\r\n        cloud_storages:\r\n            # Dropbox account credentials (use parameters in config.yml and store real values in prameters.yml)\r\n            dropbox:\r\n                user:     me@example.com # Required\r\n                password: password  # Required\r\n                remote_path: \"/\" # Not required, default \"/\", but you can use path like \"/Accounts/backups/\"\r\n\r\n        databases:\r\n            mysql:\r\n                db_host:     \"%database_host%\"\r\n                db_port:     \"%database_port%\"\r\n                database:   \"%database_name%\"\r\n                db_user:     \"%database_user%\"\r\n                db_password: \"%database_password%\"\r\n\r\nAnd my `parameters.yml` :\r\n\r\n    parameters:\r\n        database_driver: pdo_mysql\r\n        database_host: 127.0.0.1\r\n        database_port: null\r\n        database_name: draftquest\r\n        database_user: root"}}