Closed notslang closed 9 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.
+1
This was fixed.
After running
stellar init
, you need to enter the url for the server (likedialect+driver://username:password@host:port
), rather than the url for your database (likedialect+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"