Saturday, August 24, 2013

Re: MySQL manage.py dbshell throwing error unknown variable 'character-set-server=utf8'

On Saturday, 24 August 2013, Brian Lee wrote:
So, my website, involving lots of database calls, works perfectly fine, even after a reboot.

However, attempting to connect directly via dbshell results in  this error:
$ ./manage.py dbshell
mysql: unknown variable 'character-set-server=utf8'

Attempting to figure out my version of mysql also gave the same error.
$ mysql --version
mysql: unknown variable 'character-set-server=utf8'

I suspect that this is actually a MySQL configuration issue, rather than a Django issue, but could you post the contents of your my.cnf file? 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate