Screen Link: https://app.dataquest.io/m/114/using-postgresql/8/creating-a-database
Your Code: import psycopg2 as p
conn = p.connect(“dbname = dq username = dq”)
cur = conn.cursor()
conn.autocommit = True
cur.execute (“CREATE DATABASE income OWNER dq”)
conn.close()
What I expected to happen: I expected the code to run!
What actually happened: After pressing the run code buttom, the loading animation does not stop and an exclamation symbol in the connection status merge with the following message:
connection issue found
My internet connection is okay because i’m using other online services perfectly. This error has been occuring for 48 hours. This is really annoying because I usually spend more time learning in your platform during weekends. It is not the first time I lose useful hours of learning due to connection issues in the website… Please find a solution soon.