1. Home
  2. Knowledge Base
  3. Problems (EN)
  4. The Pandora FMS Console installation has MySQL errors such as “BLOB/TEXT column ‘<column>‘ can’t have a default value”

The Pandora FMS Console installation has MySQL errors such as “BLOB/TEXT column ‘‘ can’t have a default value”

From version 5.6 of MySQL onward we have configured by default STRICT_TRANS_TABLES and this MySQL configuration token created these kinds of problems.

To avoid this problem you must follow these steps:

Edit the my.cnf file (configuration MySQL file), it is in /etc/my.cnf or /usr/my.cnf or /usr/local/mysql/my.cnf and set the token:

 sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

As:

sql_mode=NO_ENGINE_SUBSTITUTION

Now restart the MySQL server:

/etc/init.d/mysql restart
Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support

Recent Discussions