URL pattern should be:
postgresql://user:password@localhost:5432/database_name
pip install psycopg2
the user should be postgres or any other user you have created and intend to use
similarly for mySql it would be:
mysql://user:pass@localhost:3306/database_name
pip install mysql-python