Plugin will not install on MariaDB 10.0.10
-
The plugin refuses to load on MariaDB 10.0.10 (a drop-in replacement for MySQL), claiming that “Plugin could not be properly installed. The MySQL version installed on this server is less than 5.”
I noticed that the
checkMySQL()
method only looks at the first character of the version string, rather than comparing it withversion_compare()
or some such like you do elsewhere:public static function checkMySQL(){ global $wpdb; $v = $wpdb->get_var("SELECT VERSION();"); if(empty($v)){ return false; } $v = trim($v); if(intval($v[0]) < 5){ return false; } return true; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Plugin will not install on MariaDB 10.0.10’ is closed to new replies.