Update example.py

Fix database argument for pymysql.connect => db