Re: _mysql_exceptions.OperationalError: (1366, '') when running tests against MySQL

2017-01-26 Thread JA Robson
Ah, thank you. That didn't exactly solve it, but it certainly pointed me in the right direction. ++ I added that to my settings, and it still failed. I took a look at VARIABLES and discovered the 'character_set_server' in my servers was latin1 SHOW VARIABLES LIKE 'character_set%'; +---

Re: _mysql_exceptions.OperationalError: (1366, '') when running tests against MySQL

2017-01-25 Thread Tim Graham
Try adding this to both entries in your DATABASES test settings: 'TEST': { 'CHARSET': 'utf8', 'COLLATION': 'utf8_general_ci', }, On Wednesday, January 25, 2017 at 7:36:41 AM UTC-5, JA Robson wrote: > > hi, I'm on OSX (Sierra), am running a local MySQL, version 5.7.17, running > django '2

_mysql_exceptions.OperationalError: (1366, '') when running tests against MySQL

2017-01-25 Thread JA Robson
hi, I'm on OSX (Sierra), am running a local MySQL, version 5.7.17, running django '2.0.dev20170122010200', and python mysqlclient 1.3.9 and 1.3.1 (I tried both versions). when I try to run the tests, it consistently fails with this stack trace Traceback (most recent call last): File "/Users/