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

Missing string [[cannotcreatedb]] (backport of MDL-39575)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.3.6, 2.4.3
    • 2.4.8
    • Installation
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • 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. (verify this on the command line first)
      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. (verify this on the command line first) Proceed. Check you get an proper message rather than [ [cannotcreatedb] ]

    Description

      This is a bout to backport MDL-39575 to stable supported branches, by applying the solution that was applied to master (1168a5f).

      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

              poltawski Dan Poltawski
              stronk7 Eloy Lafuente (stronk7)
              Marina Glancy Marina Glancy
              Jason Fowler Jason Fowler
              Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Jan/14