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

Missing string [[cannotcreatedb]]

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.6, 2.4.3, 2.5
    • Fix Version/s: 2.5
    • Component/s: Installation
    • Labels:
    • Testing Instructions:
      Hide
      1. Start a fresh installation.
      2. Select MySQL.
      3. Specify a database that doesn't exist.
      4. Specify a user who doesn't have permission to create a database.
      5. Proceed.
      6. Check you get an proper message rather than [[cannotcreatedb]]
      Show
      Start a fresh installation. Select MySQL. Specify a database that doesn't exist. Specify a user who doesn't have permission to create a database. Proceed. Check you get an proper message rather than [ [cannotcreatedb] ]
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      wip-MDL-39575-m25

      Description

      Easy to find:

      1. Create a MySQL user who can log in but does not have permission to create a database.
      2. Start a fresh Moodle installation (no config.php present).
      3. Try and use the credentials of the MySQL user above.
      4. You'll get an error [[cannotcreatedb]] instead of a string.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13