Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid utf8mb4 character string #137

Closed
auggy opened this issue Feb 14, 2019 · 1 comment
Closed

Invalid utf8mb4 character string #137

auggy opened this issue Feb 14, 2019 · 1 comment

Comments

@auggy
Copy link

auggy commented Feb 14, 2019

I get this error all the time when adding anything to the db. I'm using mysql.

/home/rick/.local/lib/python2.7/site-packages/pymysql/cursors.py:166: Warning: (1300, u"Invalid utf8mb4 character string: '95F4B5'")
  result = self._query(query)
/home/rick/.local/lib/python2.7/site-packages/pymysql/cursors.py:166: Warning: (1300, u"Invalid utf8mb4 character string: '82CB98'")
  result = self._query(query)
/home/rick/.local/lib/python2.7/site-packages/pymysql/cursors.py:166: Warning: (1300, u"Invalid utf8mb4 character string: '950656'")
  result = self._query(query)
/home/rick/.local/lib/python2.7/site-packages/pymysql/cursors.py:166: Warning: (1300, u"Invalid utf8mb4 character string: '87C807'")
  result = self._query(query)
/home/rick/.local/lib/python2.7/site-packages/pymysql/cursors.py:166: Warning: (1300, u"Invalid utf8mb4 character string: 'B5DCDD'")
  result = self._query(query)
/home/rick/.local/lib/python2.7/site-packages/pymysql/cursors.py:166: Warning: (1300, u"Invalid utf8mb4 character string: 'DDE1ED'")
  result = self._query(query)
/home/rick/.local/lib/python2.7/site-packages/pymysql/cursors.py:166: Warning: (1300, u"Invalid utf8mb4 character string: 'ABDA18'")
  result = self._query(query)
/home/rick/.local/lib/python2.7/site-packages/pymysql/cursors.py:166: Warning: (1300, u"Invalid utf8mb4 character string: 'CB71A2'")
  result = self._query(query)




@spl0k
Copy link
Owner

spl0k commented Feb 16, 2019

Is the data you're trying to add when you get this warning still added to the database?
Which version of mysql and pymysql are you using?

Most likely relevant:
PyMySQL/PyMySQL#644
https://bugs.mysql.com/bug.php?id=79317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants