Update example.py

Fix database argument for pymysql.connect => db
Merge pull request #192 from nerzhul/patch-1

Update example.py