Invalid DATABASE_URL characters

This one’s a bit obvious really.

An ActiveRecord database URL environment variable is of the form:

adapter://<username>:<password>@<host>:<port>/<database>

So it stands to reason that you can’t use ‘@’ or ‘:’ as part of the password.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.