The db library expects to talk to the MySQL server using utf8. If you
manage to change the connection encoding (eg with SET NAMES), it is likely
to confuse the db library and either corrupt data or make the connection
fail with an error.
Can you explain what you want to accomplish?
Ryan
On Sat,
Hi all.
I'm using racket to connect to mysql using the db library. I'd like to
do something like:
--8<---cut here---start->8---
`sqlalchemy.create_engine(SQL_URI+'?charset=latin1_unicode=0')`
--8<---cut here---end--->8---
2 matches
Mail list logo