fastmonkeys / stellar

Fast database snapshot and restore tool for development
MIT License
3.86k stars 119 forks source link

including the database url segment, when prompted for "the url for your database", fails #36

Closed notslang closed 9 years ago

notslang commented 10 years ago

After running stellar init, you need to enter the url for the server (like dialect+driver://username:password@host:port), rather than the url for your database (like dialect+driver://username:password@host:port/database_name). It would make more sense to just prompt for the database url, and get rid of the "Please enter the name of the database" prompt that comes after.

...or if that's not possible, then just reword the first prompt to say "the url for your server"

theY4Kman commented 10 years ago

Just got bitten by this. I assumed "url for your database" meant my Flask-SQLAlchemy SQLALCHEMY_DATABASE_URI, which includes the database name as the path. Instead, I had to remove the path, enter just the user:pass@host:port, and enter the database name at the next prompt. It felt needless.

rerb commented 10 years ago

+1

Teemu commented 9 years ago

This was fixed.