public function checkServerVersion()
    {
        $serverVersion   = $this->getServerVersion();
        $requiredVersion = Config::getInstance()->General['minimum_mysql_version'];

        if (version_compare($serverVersion, $requiredVersion) === -1) {
            throw new Exception(Piwik::translate('General_ExceptionDatabaseVersion', array('MySQL', $serverVersion, $requiredVersion)));
        }
    }
public function checkServerVersion()
    {
        $serverVersion   = $this->getServerVersion();
        $requiredVersion = Config::getInstance()->General['minimum_mysql_version'];

        if (version_compare($serverVersion, $requiredVersion) === -1) {
            throw new Exception(Piwik::translate('General_ExceptionDatabaseVersion', array('MySQL', $serverVersion, $requiredVersion)));
        }
    }
public function checkServerVersion ( ) { $ serverVersion = $ this -> getServerVersion ( ) ; $ requiredVersion = Config :: getInstance ( ) -> General [ 'minimum_mysql_version' ] ; if ( version_compare ( $ serverVersion , $ requiredVersion ) === - 1 ) { throw new Exception ( Piwik :: translate ( 'General_ExceptionDatabaseVersion' , array ( 'MySQL' , $ serverVersion , $ requiredVersion ) ) ) ; } }
Check MySQL version

@throws Exception
Check MySQL version