Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17912

getDatabaseProductName() return DatabaseProduct.UNKNOWN for MariaDB depending on the configuration

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      A workaround is to add "useMysqlMetadata=true" in the jdbc URL. Another possibility is to use the mysql connector which works fine with MariaDB.

      Since MySQL and MariaDB are the same thing from XWiki point of view (for now at least) we should return DatabaseProduct.MySQL for now so that it covers any existing code which have a if on MySQL.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: