python 使用 aiomysql报异常,no “_auth”模块

  aiomysql依赖于pymysql ,“_auth”是pymysql的模块。需要检查一下自己的pymysql版本,更新为最新的版本,一般不会出问题: 引入aiomysql: async def main(loop): # 初始化数据库连接池 pool = await aiomysql.create_pool(host='127.0.0.1', port=3306,
相关文章
相关标签/搜索