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

SQL Server connection error when using a specific port to a different subnetwork

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.5, 3.3.2
    • 3.3, 3.3.1
    • Libraries
    • Microsoft SQL
    • MOODLE_33_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MDL-59509-master
    • Hide

      the patch below fix this issue

      Show
      the patch below fix this issue
    • Hide
      1. Bring up the MSSQL Docker image on the standard port
      2. Configure config.php for mssql, without specifying a port at all
      3. Attempt to install Moodle
      4. Bring down the Docker image, etc.
      5. Bring up the MSSQL Docker image on a custom port
      6. Configure config.php to point to that custom port
      7. Attempt to install Moodle
      Show
      Bring up the MSSQL Docker image on the standard port Configure config.php for mssql, without specifying a port at all Attempt to install Moodle Bring down the Docker image, etc. Bring up the MSSQL Docker image on a custom port Configure config.php to point to that custom port Attempt to install Moodle

      There is a SQL Server connection error when using a specific port to a sqlsrv instance in a different subnetwork.

      Actually the $this->dboptions['dbport'] is not used arround line 186 into the:

      lib/mdl/sqlsrv_native_moodle_database::connect() function

       

       

       

            gabrielros Gabriel Rosset
            gabrielros Gabriel Rosset
            Andrew Lyons Andrew Lyons
            David Monllaó David Monllaó
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.