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
.
On Sun, Mar 11, 2018 at 9:25 PM, <[email protected]> wrote:
> Well that’s good news then, thanks Mike 🤓
>
>
> On Monday, March 12, 2018 at 11:08:28 AM UTC+10, Mike Bayer wrote:
>>
>> the issue is Python 3 only and reproduces with PyMySQL 0.8.0 and not
>> with 0.7.1. Hopefully this is a PyMySQL bug that can be resolved
>> quickly (note I might recall seeing this recently but could not find
>> any discussion about it). Posted up as
>> https://github.com/PyMySQL/PyMySQL/issues/644 .
>>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.