NagVis / nagvis

Visualization addon for your open source monitoring core
http://nagvis.org/
GNU General Public License v2.0
113 stars 73 forks source link

[fix] Call to a member function prepare() on nullarray(1) in MySQL #348

Closed KayckMatias closed 1 year ago

KayckMatias commented 1 year ago

Fix to #271 issue.

The sql_mode "postgresql" is deprecated. It is removed in MySQL 8.0 as the documentation says: documentation.

SQL_MODE = POSTGRESQL is equivalent to PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE, NO_KEY_OPTIONS, NO_TABLE_OPTIONS, NO_FIELD_OPTIONS.

But, NO_KEY_OPTIONS, NO_TABLE_OPTIONS, NO_FIELD_OPTIONS it is also depreciated, then only PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE will be used.

LarsMichelsen commented 1 year ago

Thanks again :)