Re: MySQL manage.py dbshell throwing error unknown variable 'character-set-server=utf8'
On Sunday, 25 August 2013, Brian Lee wrote:
[client]20 port = 330621 socket = /var/run/mysqld/mysqld.sock2223 # Here is entries for some specific programs24 # The following values assume you have at least 32M ram2526 # This was formally known as [safe_mysqld]. Both versions are currently pars ed.27 [mysqld_safe]28 socket = /var/run/mysqld/mysqld.sock29 nice = 03031 [mysqld]32 #33 # * Basic Settings34 #35 character-set-server=utf836 default-collation=utf8_unicode_ci44 user = mysql45 socket = /var/run/mysqld/mysqld.sock46 port = 330647 basedir = /usr48 datadir = /var/lib/mysql49 tmpdir = /tmp50 skip-external-locking51 #52 # Instead of skip-networking the default is now to listen only on53 # localhost which is more compatible and is not less secure.54 #bind-address = 127.0.0.155 bind-address = 199.167.196.1375657 #58 # * Fine Tuning59 #60 key_buffer = 16M 61 max_allowed_packet = 16M62 thread_stack = 192K63 thread_cache_size = 864 # This replaces the startup script and checks MyISAM tables if needed65 # the first time they are touched66 myisam-recover = BACKUP67 #max_connections = 10068 #table_cache = 6469 #thread_concurrency = 1070 #71 # * Query Cache Configuration72 #73 query_cache_limit = 1M74 query_cache_size = 16M81 #general_log_file = /var/log/mysql/mysql.log82 #general_log = 18384 log_error = /var/log/mysql/error.log86 # Here you can see queries with especially long duration87 #log_slow_queries = /var/log/mysql/mysql-slow.log88 #long_query_time = 289 #log-queries-not-using-indexes90 #91 # The following can be used as easy to replay backup logs or for replication .92 # note: if you are setting up a replication slave, see README.Debian about93 # other settings you may need to change.94 #server-id = 195 #log_bin = /var/log/mysql/mysql-bin.log96 expire_logs_days = 1097 max_binlog_size = 100M98 #binlog_do_db = include_database_name99 #binlog_ignore_db = include_database_name119 [mysqldump]120 quick121 quote-names122 max_allowed_packet = 16M123124 [mysql]125 #no-auto-rehash # faster start of mysql but no tab completition126 character-set-server=utf8127 default-collation=utf8_unicode_ci128129 [isamchk]130 key_buffer = 16M131132 #133 # * IMPORTANT: Additional settings that can override those from this file!134 # The files must end with '.cnf', otherwise they'll be ignored.135 #136 !includedir /etc/mysql/conf.d/ # only contains [mysqld_safe]; syslog
I think you only want character-set-server in the mysqld section, and not also in the mysql section. However, I really know almost nothing about MySQL, so you might be better off asking in that community rather than here.
-- 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