ipython-sql icon indicating copy to clipboard operation
ipython-sql copied to clipboard

Error when connecting to database

Open SantiDu opened this issue 6 years ago • 1 comments

Error: Connection info needed in SQLAlchemy format, example: postgresql://username:password@hostname/dbname or an existing connection: dict_keys([]) invalid literal for int() with base 10: '' Connection info needed in SQLAlchemy format, example: postgresql://username:password@hostname/dbname or an existing connection: dict_keys([])

SantiDu avatar May 27 '19 06:05 SantiDu

Are you passing in the right credential strings? Either use the env var DATABASE_URL or preformat the string using % or format().

henrymei avatar Jun 22 '19 02:06 henrymei