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

openresty/1.11.2.1 use resty-mysql query An error is invalid charset #760

Open
xuefeilong opened this issue Aug 19, 2021 · 1 comment
Open

Comments

@xuefeilong
Copy link

local ok, err, errno, sqlstate = db:connect(sql)
The return value:
ok ----> nil
err ----> invalid charset
errno ----> 1105
sqlstate ---> HY000

@anguslee
Copy link

Could you provide a minimal SQL example that returns this error? And have you checked the MySQL server log for more clues?

Hopefully this could help: https://dev.mysql.com/doc/refman/8.0/en/charset-errors.html

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