module 'pymysql' has no attribute 'escape_string'
pymysql.escape_string() 修改为 pymysql.converters.escape_string()
pymysql更新到了1.0版本。