Re: [racket-users] Changing the charset/encoding when using the db library

2020-07-11 Thread Ryan Culpepper
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,

[racket-users] Changing the charset/encoding when using the db library

2020-07-11 Thread Bonface Munyoki
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---