NagiosEnterprises / ndoutils

NDOUtils - Database Output for Nagios Core
GNU General Public License v2.0
48 stars 19 forks source link

Add mysql_options call to grab defaults when connecting to mysql #52

Closed jomann09 closed 5 years ago

jomann09 commented 5 years ago

We should add mysql_options() to get the charset and other default options when we connect to mysql. We don't set this so it defaults to connect with charset latin1 even if mysql is set to use other charset types.

Some more info: https://forums.mysql.com/read.php?168,82780,82785#msg-82785