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

Doesn't work with MySQL 8 due to different default charset #77

Open
jonaslm opened this issue Sep 13, 2018 · 4 comments
Open

Doesn't work with MySQL 8 due to different default charset #77

jonaslm opened this issue Sep 13, 2018 · 4 comments

Comments

@jonaslm
Copy link

jonaslm commented Sep 13, 2018

MySQL 8 changed the default charset to utf8mb4. It seems this broke the mysql sensu scripts, as they all error out when connecting now.

CheckMySQLHealth CRITICAL: MySQL check failed: unknown charset number: 255

As far as I can tell, there's no configuration option for the scripts to tell what charset they should use when connecting.

@gonja-dude
Copy link

@jonaslm , had a similar issue when I upgraded mysql from 5 to 8 with latin1 as the charset. however, this problem later morphed into:
CheckMysqlReplicationStatus CRITICAL: undefined method encoding' for nil:NilClass`
Any idea on how to go approach this?

@jonaslm
Copy link
Author

jonaslm commented Feb 27, 2019

@gonja-dude
No clue, sorry. We stopped using these checks since they didn't work for us anymore.

@gonja-dude
Copy link

@jonaslm
Alright! Do you mind telling me what you guys are using now to check the replication status on your DBs?

@jonaslm
Copy link
Author

jonaslm commented Mar 4, 2019

We still haven't replaced them, sadly. If anyone finds a workable alternative we're also interested :)

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