Unsupported MySQL version warning
Hi everyone,
I would like to know if it is possible to hide the warning on cPanel? We are planing to ugrade the MySQL Server version soon, but we would like to hide it until it is not finished.
This is the message and it appaers on the database creation page (frontend/x3/sql/index.html):
This server is running an unsupported MySQL version (5.1). Ask your system administrator to upgrade MySQL to improve security and features.
Thanks since now,
Erik
-
Hello, I suggest upgrading MySQL rather than hiding the message, however, you could manually edit the following file: /usr/local/cpanel/base/frontend/x3/sql/sql_version_warning.tmpl
Comment out the following lines:[% IF Mysql.show_update_warning %][% locale.maketext('This server is running an unsupported MySQL version ([_1]). Ask your system administrator to upgrade MySQL to improve security and features.', mysql_version) %][% END %]
Then, add the file to the /etc/cpanelsync.exclude file to ensure it's not overwritten. Note that these steps are unsupported, and you should only use them on a temporary basis until you can upgrade MySQL. Thank you.0
Please sign in to leave a comment.
Comments
1 comment