As I had told you free hosting runs on MariaDB 10.6 which is feature equivlant to MySQL 8.0.
MariaDB is a fork of MySQL starting from all the way back when MySQL was acquired by Oracle in 2010, it’s entirely possible that in later development something was not updated; it’s also possible that something on the server is not configured properly as the database server here was once MySQL 5.7.