Hi NEWCHILD,
unfortunately, you don't provide the content of the additional configuration files, even that you must have seen the include:
Code:
!includedir /etc/my.cnf.d
This situation still leaves us without needed informations, where "sql_mode" has been configured on your server. So pls. post the output of the example "find" commands:
Code:
find /etc -type f -name "*.cnf" -exec grep --color -Hni "sql_mode" {} \;
Code:
find /etc/my.cnf.d -type f -name "*.cnf" -exec grep --color -Hni "sql_mode" {} \;
Code:
find /etc/systemd/system/mariadb.service.d -type f -name "*.conf" -exec grep --color -Hni "sql_mode" {} \;
... and adjust the "find" - command examples with other "name" - definitions, if you can't find the setting already with the provided examples.
Afterwards, you should follow the suggestion from
=> #2 , to modify the found setting to your desire.
In my.cnf.d i have
clients.cnf, mysql-clients.cnf & server.cnf.
Their Contents are:
clients.cnf:
#
# These two groups are read by the client library
# Use it for options that affect all clients, but not the server
#
[client]
# This group is not read by mysql client library,
# If you use the same .cnf file for MySQL and MariaDB,
# use it for MariaDB-only client options
[client-mariadb]
mysql-clients.cnf
#
# These groups are read by MariaDB command-line tools
# Use it for options that affect only one utility
#
[mysql]
[mysql_upgrade]
[mysqladmin]
[mysqlbinlog]
[mysqlcheck]
[mysqldump]
[mysqlimport]
[mysqlshow]
[mysqlslap]
Server.cnf:
#
# These groups are read by MariaDB server.
# Use it for options that only the server (but not clients) should see
#
# See the examples of server my.cnf files in /usr/share/mysql/
#
# this is read by the standalone daemon and embedded servers
[server]
# this is only for the mysqld standalone daemon
[mysqld]
# this is only for embedded server
[embedded]
# This group is only read by MariaDB-5.5 servers.
# If you use the same .cnf file for MariaDB of different versions,
# use this group for options that older servers don't understand
[mysqld-5.5]
# These two groups are only read by MariaDB servers, not by MySQL.
# If you use the same .cnf file for MySQL and MariaDB,
# you can put MariaDB-only options here
[mariadb]
[mariadb-5.5]
Hope to hear from you soon.
Regards
Tolu