Question
What version of MySQL is installed with cPanel by default?
Answer
For CentOS 7 and CloudLinux 7, MySQl 5.7 is the default.
For CentOS 8, CloudLinux 8, AlmaLinux 8, and Rocky Linux 8, MySQL 8 is the default.
If you wish to customize the version, please review How to customize the version of MySQL used when installing cPanel for the first time