Werk #11724: check_sql: Encoding error in "Check SQL Database" rule

Component Checks & agents
Title check_sql: Encoding error in "Check SQL Database" rule
Date Feb 3, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.6.0p21
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

This is a regression since Checkmk 1.6.0p19 / Werk #11542.

When entering an SQL query/statement containing non-ASCII characters within the "Check SQL Database" rule, this will result in a crash, showing the error UnicodeEncodeError ('ascii' codec can't encode character u'\xf6' in position 15: ordinal not in range(128)).

This is fixed now.

To the list of all Werks