Traceback (most recent call last): File "/data/wwwroot/eleefeed/app.py", line 424, in get cur.execute("select f.img, f.title, f.link, a.sourcename, f.id, a.site, f.account, f.pubdate from feeds as f left join accounts as a on a.username = f.account where f.account = '"+ account +"' order by f.pubdate desc limit 10") File "/usr/lib64/python2.6/site-packages/MySQL_python-1.2.4b4-py2.6-linux-x86_64.egg/MySQLdb/cursors.py", line 182, in execute query = query.encode(charset) LookupError: unknown encoding: utf8mb4