Operating system:
Centos
OS version:
7
Under Mariadb
Go to Edit Config files
In my.cnf,
at the very bottom of the page:
uncomment,
!includedir /etc/my.cnf.d
and after restarting Mariadb.
On top of the editor,
there’s a drop down list and now it only shows my.cnf.
my.cnf.d/~ are no longer there.
Comment out with ‘!’ like put it back to default state
!includedir /etc/my.cnf.d
/etc/my.cnf.d/~ comes back.