Skip to content

Instantly share code, notes, and snippets.

@akawashiro
Created October 13, 2018 07:17
Show Gist options
  • Save akawashiro/69fd35cf0a369992f2b0dfcd84085807 to your computer and use it in GitHub Desktop.
Save akawashiro/69fd35cf0a369992f2b0dfcd84085807 to your computer and use it in GitHub Desktop.
なんかよくわかんないけどmysqlのエラーで落ちた
Traceback (most recent call last):
File "/kearch/packages/kearch_common/kearch_common/requester.py", line 194, in request_sql
post_webpage_to_db(db, cur, webpage)
File "/kearch/packages/kearch_common/kearch_common/requester.py", line 84, in post_webpage_to_db
cur.execute(statement, record)
File "/usr/local/lib/python3.6/site-packages/mysql/connector/cursor.py", line 559, in execute
self._handle_result(self._connection.cmd_query(stmt))
File "/usr/local/lib/python3.6/site-packages/mysql/connector/connection.py", line 494, in cmd_query
result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
File "/usr/local/lib/python3.6/site-packages/mysql/connector/connection.py", line 396, in _handle_result
raise errors.get_exception(packet)
mysql.connector.errors.DatabaseError: 1267 (HY000): Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
@zharazhar17
Copy link

kampang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment