Confirmed: adding `binary_prefix=true` to the URL gets rid of the warning.

I’ll also keep an eye out for SA1.3, and will remove that string then.

Thanks Mike!


On Tuesday, March 13, 2018 at 11:57:52 PM UTC+10, Mike Bayer wrote:
>
> OK I have better news.    pymysql already did the thing I wanted him to 
> do, apparently, so connect like this:
>
> e = 
> create_engine("mysql+pymysql://scott:tiger@mysql57/test?charset=utf8mb4&binary_prefix=true",
>  
> echo=True)
>
> warning should be gone.
>
> However, I'm going to implement the _binary prefix for all drivers in 1.3 
> as part of 
> https://bitbucket.org/zzzeek/sqlalchemy/issues/4216/mysql-specific-binary-warnings-1300
>  
> .
>

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to