Moodle
  1. Moodle
  2. MDL-26307

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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
    • Rank:
      16405

      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

        Issue Links

          Activity

          Hide
          Petr Škoda added a comment -

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

          Petr

          Show
          Petr Škoda 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: