Guest User

Untitled

a guest
Jun 4th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. import pymysql
  2.  
  3. # Connect to the database
  4. connection = pymysql.connect(host='127.0.0.1',
  5. user='<username>',
  6. password='<password>',
  7. db='Puppies',
  8. port=8888)
  9. print("hello")
  10.  
  11. CR.CR_SERVER_LOST, "Lost connection to MySQL server during query")
  12. pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')
Add Comment
Please, Sign In to add comment