{"action":"created","issue":{"url":"https://api.github.com/repos/capistrano/capistrano/issues/1532","labels_url":"https://api.github.com/repos/capistrano/capistrano/issues/1532/labels{/name}","comments_url":"https://api.github.com/repos/capistrano/capistrano/issues/1532/comments","events_url":"https://api.github.com/repos/capistrano/capistrano/issues/1532/events","html_url":"https://github.com/capistrano/capistrano/issues/1532","id":119656644,"number":1532,"title":"Access denied for user 'engine'@'localhost' (using password: NO)","user":{"login":"ahmed-isam","id":7933802,"avatar_url":"https://avatars.githubusercontent.com/u/7933802?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmed-isam","html_url":"https://github.com/ahmed-isam","followers_url":"https://api.github.com/users/ahmed-isam/followers","following_url":"https://api.github.com/users/ahmed-isam/following{/other_user}","gists_url":"https://api.github.com/users/ahmed-isam/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmed-isam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmed-isam/subscriptions","organizations_url":"https://api.github.com/users/ahmed-isam/orgs","repos_url":"https://api.github.com/users/ahmed-isam/repos","events_url":"https://api.github.com/users/ahmed-isam/events{/privacy}","received_events_url":"https://api.github.com/users/ahmed-isam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-01T07:02:03Z","updated_at":"2015-12-01T18:12:11Z","closed_at":"2015-12-01T18:12:11Z","body":"The project is [here](https://github.com/ahmed-isam/Project-Demeter) working on master, btw, you can figure out how pissed off I am by looking at last night's commits!\r\n\r\nI don't know what's going on!!!!!!\r\n```\r\nBUG [d984475f] Command: cd /hgome/deploy/project_demeter/releases/20151201065813 && ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.0 RAILS_ENV=production ~/.rbenv/bin/rbenv exec bundle exec rake db:migrate )\r\nDEBUG [d984475f] \trake aborted!\r\nDEBUG [d984475f] \tMysql2::Error: Access denied for user 'engine'@'localhost' (using password: NO)\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/mysql2-0.3.18/lib/mysql2/client.rb:70:in `connect'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/mysql2-0.3.18/lib/mysql2/client.rb:70:in `initialize'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `new'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `mysql2_connection'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in `new_connection'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `checkout_new_connection'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in `acquire_connection'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in `block in checkout'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in `block in connection'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in `connection'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:567:in `retrieve_connection'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_handling.rb:113:in `retrieve_connection'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_handling.rb:87:in `connection'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:913:in `initialize'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:820:in `new'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:820:in `up'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:798:in `migrate'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'\r\nDEBUG [d984475f] \t/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'\r\nDEBUG [d984475f] \tTasks: TOP => db:migrate\r\nDEBUG [d984475f] \t(See full trace by running task with --trace)\r\n(Backtrace restricted to imported tasks)\r\ncap aborted!\r\nSSHKit::Runner::ExecuteError: Exception while executing as deploy@104.131.0.195: rake exit status: 1\r\nrake stdout: Nothing written\r\nrake stderr: rake aborted!\r\nMysql2::Error: Access denied for user 'engine'@'localhost' (using password: NO)\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/mysql2-0.3.18/lib/mysql2/client.rb:70:in `connect'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/mysql2-0.3.18/lib/mysql2/client.rb:70:in `initialize'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `new'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `mysql2_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in `new_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `checkout_new_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in `acquire_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in `block in checkout'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in `block in connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in `connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:567:in `retrieve_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_handling.rb:113:in `retrieve_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_handling.rb:87:in `connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:913:in `initialize'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:820:in `new'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:820:in `up'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:798:in `migrate'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'\r\nTasks: TOP => db:migrate\r\n(See full trace by running task with --trace)\r\n\r\nSSHKit::Command::Failed: rake exit status: 1\r\nrake stdout: Nothing written\r\nrake stderr: rake aborted!\r\nMysql2::Error: Access denied for user 'engine'@'localhost' (using password: NO)\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/mysql2-0.3.18/lib/mysql2/client.rb:70:in `connect'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/mysql2-0.3.18/lib/mysql2/client.rb:70:in `initialize'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `new'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `mysql2_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in `new_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `checkout_new_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in `acquire_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in `block in checkout'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in `block in connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in `connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:567:in `retrieve_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_handling.rb:113:in `retrieve_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_handling.rb:87:in `connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:913:in `initialize'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:820:in `new'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:820:in `up'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:798:in `migrate'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'\r\nTasks: TOP => db:migrate\r\n(See full trace by running task with --trace)\r\n\r\nTasks: TOP => deploy:migrate\r\n(See full trace by running task with --trace)\r\nThe deploy has failed with an error: Exception while executing as deploy@104.131.0.195: rake exit status: 1\r\nrake stdout: Nothing written\r\nrake stderr: rake aborted!\r\nMysql2::Error: Access denied for user 'engine'@'localhost' (using password: NO)\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/mysql2-0.3.18/lib/mysql2/client.rb:70:in `connect'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/mysql2-0.3.18/lib/mysql2/client.rb:70:in `initialize'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `new'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `mysql2_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in `new_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `checkout_new_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in `acquire_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in `block in checkout'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in `block in connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in `connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:567:in `retrieve_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_handling.rb:113:in `retrieve_connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_handling.rb:87:in `connection'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:913:in `initialize'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:820:in `new'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:820:in `up'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:798:in `migrate'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'\r\n/home/deploy/project_demeter/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'\r\nTasks: TOP => db:migrate\r\n(See full trace by running task with --trace)\r\n```"},"comment":{"url":"https://api.github.com/repos/capistrano/capistrano/issues/comments/161051439","html_url":"https://github.com/capistrano/capistrano/issues/1532#issuecomment-161051439","issue_url":"https://api.github.com/repos/capistrano/capistrano/issues/1532","id":161051439,"user":{"login":"leehambley","id":18952,"avatar_url":"https://avatars.githubusercontent.com/u/18952?v=3","gravatar_id":"","url":"https://api.github.com/users/leehambley","html_url":"https://github.com/leehambley","followers_url":"https://api.github.com/users/leehambley/followers","following_url":"https://api.github.com/users/leehambley/following{/other_user}","gists_url":"https://api.github.com/users/leehambley/gists{/gist_id}","starred_url":"https://api.github.com/users/leehambley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leehambley/subscriptions","organizations_url":"https://api.github.com/users/leehambley/orgs","repos_url":"https://api.github.com/users/leehambley/repos","events_url":"https://api.github.com/users/leehambley/events{/privacy}","received_events_url":"https://api.github.com/users/leehambley/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T18:12:11Z","updated_at":"2015-12-01T18:12:11Z","body":"Google shows me this in the number one position, http://robmclarty.com/blog/how-to-deploy-a-rails-4-app-with-git-and-capistrano if you don't have someone to help you with the server stuff though, beware it can be tricky."}}