[Sqlalchemy-tickets] Issue #4283: UTF8MB4 issue with MySQL 8 and PyMySQL (zzzeek/sqlalchemy)
Brought to you by:
zzzeek
From: colafly <iss...@bi...> - 2018-06-21 13:18:10
|
New issue 4283: UTF8MB4 issue with MySQL 8 and PyMySQL https://bitbucket.org/zzzeek/sqlalchemy/issues/4283/utf8mb4-issue-with-mysql-8-and-pymysql colafly: Using MySQL 8 and PyMySQL 0.8.1 with SQLAlchemy 1.2.8. ``` e = create_engine('mysql+pymysql://account@localhost:3306/db?charset=utf8mb4') e.connect() ~/lib/python3.6/site-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' is currently an alias for the character set UTF8MB3, which will be replaced by UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.") result = self._query(query) ``` This doesn't happen with MySQL 5. I'm already using utf8mb4, so I shouldn't really see this. Thanks! |