Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Quick commit for allowing required config options for mysql and postgres #12

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

tommeier
Copy link

In our local setup we run create/drop on dbs from a cruise server to our seperate (remote) db. So I found I couldn't connect without some key config attributes set, especially 'host' so it doesn't default to 'localhost'.

The second commit simply adds some of these key config values to the create/drop commands on mysql and postgres if they're present in the passed database.yml.

The first commit just bumps the rails beta version, as the required one no longer exists and means i couldn't build the gemset.

Thanks for a great gem!

Tom

…s without these options, but when running with remote databases (eg, UAT environments) these config options are required or obscure error messages happen.

Postgres -
  - Add config options for owner, port, and host
MySQL -
  - Add config options for host
@nullobject
Copy link

+1

@tommeier
Copy link
Author

Also - Additional rake task that will close any open sessions on the test database. Avoids problems on test build servers etc that don't close the process gracefully.

@javisantana
Copy link

+1

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

Successfully merging this pull request may close these issues.

3 participants