Which tables is about " return self.cursor.execute(query, args) " ?
thanks... 在 2016年10月27日星期四 UTC+8上午4:31:14,Christian Hammond写道: > > Hi, > > What encoding are the tables using? > > What Unicode character is this? Note that MySQL's "utf8" does not actually > support all UTF-8 characters (Emoji, for instance, are not supported). It's > a subset. > > Christian > > -- > Christian Hammond > President/CEO of Beanbag <https://www.beanbaginc.com/> > Makers of Review Board <https://www.reviewboard.org/> > > On Wed, Oct 26, 2016 at 5:55 AM, Cui Fisher <music...@gmail.com > <javascript:>> wrote: > >> SHOW VARIABLES LIKE 'character%'; >> +--------------------------+----------------------------+ >> | Variable_name | Value | >> +--------------------------+----------------------------+ >> | character_set_client | utf8 | >> | character_set_connection | utf8 | >> | character_set_database | utf8 | >> | character_set_filesystem | binary | >> | character_set_results | utf8 | >> | character_set_server | utf8 | >> | character_set_system | utf8 | >> | character_sets_dir | /usr/share/mysql/charsets/ | >> +--------------------------+----------------------------+ >> 8 rows in set >> >> 在 2016年10月26日星期三 UTC+8下午8:39:33,Cui Fisher写道: >> >>> Review Board 2.5.6.1 >>> mysqld Ver 5.6.31 for Linux on x86_64 (MySQL Community Server (GPL)) >>> /etc/my.cnf >>> [mysqld] >>> datadir=/var/lib/mysql >>> socket=/var/lib/mysql/mysql.sock >>> default-time-zone = '+8:00' >>> character-set-server=utf8 >>> skip-federated >>> skip-host-cache >>> skip-name-resolve >>> innodb_buffer_pool_size = 1024M >>> innodb_log_file_size = 16M >>> innodb_log_buffer_size = 8M >>> innodb_flush_log_at_trx_commit = 1 >>> innodb_lock_wait_timeout = 50 >>> symbolic-links=0 >>> >>> sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_ENGINE_SUBSTITUTION" >>> max-connect-errors=100000 >>> max-connections=500 >>> [mysqld_safe] >>> log-error=/var/log/mysqld.log >>> pid-file=/var/run/mysqld/mysqld.pid >>> >>> >>> ERROR INFO: >>> >>> >>> 03:20:22WARNING >>> >>> - >>> /usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backends/mysql/base.py:124: >>> Warning: Invalid utf8 character string: 'D8F865' >>> return self.cursor.execute(query, args) >>> >>> 03:20:22WARNING >>> >>> - >>> /usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backends/mysql/base.py:124: >>> Warning: Invalid utf8 character string: 'ADF69B' >>> return self.cursor.execute(query, args) >>> >>> 03:20:22WARNING >>> >>> - >>> /usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backends/mysql/base.py:124: >>> Warning: Invalid utf8 character string: 'B756EB' >>> return self.cursor.execute(query, args) >>> >>> >>> >>> -- >> Supercharge your Review Board with Power Pack: >> https://www.reviewboard.org/powerpack/ >> Want us to host Review Board for you? Check out RBCommons: >> https://rbcommons.com/ >> Happy user? Let us know! https://www.reviewboard.org/users/ >> --- >> You received this message because you are subscribed to the Google Groups >> "reviewboard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to reviewboard...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.