I’m using rubber to deploy a rails application and am having trouble connecting to MySQL. Do I have to manually setup MySQL on EC2 or should Rubber have already had done that?
While this isn’t all that helpful, here is log output when rake is ran:
** [out :: db01.memepluspl.us] rake aborted!
** [out :: db01.memepluspl.us]
** [out :: db01.memepluspl.us] Access denied for user ''@'db01.memepluspl.us' to database 'meme_plus_plus_production'
** [out :: db01.memepluspl.us]
** [out :: db01.memepluspl.us]
** [out :: db01.memepluspl.us] Tasks: TOP => db:migrate => environment
in my case, the app name I had input in rubber.yml was actually different then the actual app name(the project files retains placeholder name)…
I ssh’d into the instance, looked for
current/andcat config/database.ymlthen just tried running the connect command rake would try to run from the stuff there and the error was there, so I’d suggest trying to better debug what’s going on
I guessed I had to change the rubber-mysql.yml configs… Im recreating the staging stuff now, I think it should at least pass through this issue.. gl