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

mysqli driver create_database() lacks support for dboptions['dbsocket']

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Installation
    • Labels:
    • Database:
      MySQL
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      While reviewing MDL-26290 (PULL-234) it has been detected that the connection performed by the create_database() method lacks support for the dboptions['dbsocket'].

      It's used both by the web and cli installer and, ideally, should support it. A matter of copying the code related to dbsocket from connect() to create_database() afaik.

      Ciao

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              skodak Petr Skoda added a comment -

              Thanks for the report, pull request submitted.
              I have realised the dbport was not working too.

              Petr

              Show
              skodak Petr Skoda added a comment - Thanks for the report, pull request submitted. I have realised the dbport was not working too. Petr

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    21/Feb/11