MariaDB my.ini / my.cnf WARNING: This file is managed by Salt, any changes will be overwritten on the next Salt run
I did a server migration and one of the things I have to do is update the character set and collation for MariaDB.
I log in to PuTTY / SSH as the root user. Then I enter the following command in the terminal:
> nano /etc/my.cnf ~/.my.cnf
Then I get the following at the top of the file:
# WARNING: This file is managed by Salt, any changes will be overwritten on the next Salt run #
Okay, so I'm looking around in WHM and I can't find anything about whatever Salt is. So... where am I supposed to update the collation and charset of MariaDB?
Additionally I saved the file and restarted the database though it's still reporting the collation and the older generic UTF8.
So I updated MariaDB to 10.11 to get past Unicode 5.2 and upgrade to Unicode 14 support. This file was either not updated for 10.11 or there is a a different MariaDB configuration file:
# Config designed for MariaDB 10.3/5/6
Some help ironing these issues out please?
-
And just to confirm, any of the Salt tools are not created, distributed, or supported by cPanel, so you'd want to check with your hosting provider if you aren't sure what that is doing on your machine.
0
Please sign in to leave a comment.
Comments
1 comment