Operating System & Version
CentOS 7.9
cPanel & WHM Version
98.0.5

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,519
1,027
313
cPanel Access Level
Root Administrator
Hey there! No, there is nothing you need to manually add to the server to keep that from updating. When your specific database tier is chosen, either through the installation or by updating MySQL/MariaDB through WHM, we subscribe your server to a specific repository that is used for updates. For example, a server running MariaDB 10.5 would see this in /etc/yum.repos.d:

Code:
-rw-------  1 root root  144 Aug 24 19:45 MariaDB105.repo
Please note, you may see other repository files listed if you've updated through multiple versions of MySQL and MariaDB.

This would mean that your server would not be able to update outside of that server to a newer major version, since the repository doesn't exist. We always ask for multiple confirmations in the WHM interface whenever a major version change or upgrade happens.

Let me know if that helps!