• 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 with version_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;
        }

    https://www.ads-software.com/plugins/wp-security-audit-log/

Viewing 1 replies (of 1 total)
  • Plugin Author WPWhiteSecurity

    (@wpwhitesecurity)

    Hi Luis,

    Thank you for showing interest in our plugin.

    I can confirm we never tested our plugni with MariaDB but thank you for pointing it out. We will add it as a feature request but cannot confirm when such functionality will be available.

    In the meantime, should you have any further queries, do not hesitate to get in touch.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin will not install on MariaDB 10.0.10’ is closed to new replies.