Invalid argument(s) 'pool_size' sent to create_engine(), using configuration
我们这里测试的是create_engine缺乏参数。
down votefavorite
I create sqlalchemy
engine connecting to MySQL database. I want to specify charset
as create_engine
argument.
If I use create_engine
liKe that:
create_engine('mysql+mysqldb://pd:pd@localhost/pd?charset=utf8')
then all is fine. But, when I use it like that:
create_engine('mysql+mysqldb://pd:pd@localhost/pd', charset='utf8')
then I get the following error:
<