--> -->
 
 
<class '_mysql_exceptions.OperationalError'>
Python 2.7.5: /usr/bin/python
Wed Jun 23 02:24:26 2021

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/urnerk/webapps/htdocs/cgi-bin/states.cgi in ()
      8 
      9 conn = MySQLdb.connect(user="urnerk",passwd="luckyducky") # actual values concealed
=>   10 conn.select_db("urnerk")
     11 curr = conn.cursor()
     12 numrecs = curr.execute("select statename, abbrev, postal, capital from states;")
conn = <_mysql.connection open to 'localhost' at dd0600>, conn.select_db = <built-in method select_db of Connection object>

<class '_mysql_exceptions.OperationalError'>: (1044, "Access denied for user 'urnerk'@'localhost' to database 'urnerk'")
      args = (1044, "Access denied for user 'urnerk'@'localhost' to database 'urnerk'")
      message = ''