Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-9609

Create database on install

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9, 2.0
    • Component/s: Database SQL/XMLDB
    • Labels:
      None
    • Environment:
      MySQL 5, PHP 5, Apache 2
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      While I was browsing through install.php, I've noted a comment saying that Moodle should create its database, but it doesn't. I've looked into adodb an noticed that it caches previous connection parameters (including database name). That is why the second connect fails (it has the same semantics as the first one). I've fixed this problem and
      attached install.php.patch.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08