sqlalchemy, setting MySQL charset as `create_engine` argument

后端 未结 2 1202
青春惊慌失措
青春惊慌失措 2021-01-21 00:10

I create sqlalchemy engine connecting to MySQL database. I want to specify charset as create_engine argument.

If I use create_engine

2条回答
  •  迷失自我
    2021-01-21 00:48

    the additional DBAPI arguments, when passed separately, are passed via connect_args.

提交回复
热议问题