/**
   * Checks whether the database vendor matches this handler.
   *
   * @param productName the product name.
   * @param productVersion the product version.
   * @param majorVersion the major version number.
   * @param minorVersion the minor version number.
   * @return <code>true</code> in case it matches.
   */
  @Override
  protected boolean checkVendor(
      @NotNull final String productName,
      @NotNull final String productVersion,
      final int majorVersion,
      final int minorVersion) {
    boolean result = productName.contains("MySQL");

    if (result) {
      result = checkVersion(productVersion, VersionUtils.getInstance());
    }

    return result;
  }
 /**
  * Checks the engine version.
  *
  * @param version the version.
  * @param versionUtils the <code>VersionUtils</code> instance.
  * @return <code>true</code> if the version matches or is compatible with.
  */
 protected boolean checkVersion(
     @NotNull final String version, @NotNull final VersionUtils versionUtils) {
   return versionUtils.matches(version, "4.x");
 }