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

Automatically create xwiki database on first run if it does not exist

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 3.1 RC1
    • Storage
    • None
    • storage create database automatically
    • Unknown

    Description

      If you try to start XWiki on a, for example, MySQL server and there is no 'xwiki' database created, you get an error.

      Why not make XWiki create the database if it's not already there?

      I know that DB management is more or less a process separated from XWiki that needs to be handled by an admin or DB admin, but this is a minor thing that is very annoying specially during testing when you clean the database and start over. A simple 'create database xwiki' in the storage code should do the trick.

      Attachments

        Activity

          People

            Unassigned Unassigned
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: