Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in my production environment #24

Open
amitrmohanty opened this issue Sep 22, 2015 · 1 comment
Open

Issue in my production environment #24

amitrmohanty opened this issue Sep 22, 2015 · 1 comment

Comments

@amitrmohanty
Copy link

DB backup functionality is working fine in staging environment. But when im trying to invoke the rake task to upload the db to s3...git stuck by getting the following error..

"mysqldump: Got error: 1045: Access denied for user 'dbname'@'server private ip address' (using password: YES) when trying to connect"

Im wondering why it would take server instead of host address from database.yml

I have also declared config variables in application.rb,
ENV['S3DB_BUCKET'] = "XXXXXXXX"
ENV['S3DB_DATABASE_CONFIG'] = "production"

I would appreciate if you can assist me in fixing this issue.

Thanks.
Amit

@amitrmohanty
Copy link
Author

Also i notice that while it threw error, file is being saved with "mysql-leaguerprod-2015-09-22-13h28m13s.sql.gz.cpt" but the size is only 52byte which is incorrect. May it started the process and in between the error is thrown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant