Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20221

Socket information for Database Connection is not propagated to legacy

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 5.0 Maintenance, 5.1
    • Known Issues 5.x Stack, 5.0
    • Database related, Install
    • Stetind Sprint 5

    Description

      Database connection fails if socket is used.

      It seems that socket information ist not propagated from ezpublish5/vendor/zetacomponents/database/src/handlers/mysql.php to /ezpublish5/ezpublish_legacy/lib/ezdb/classes/ezmysqlidb.php

      Setting the $socket variable in ezpublish5/vendor/zetacomponents/database/src/handlers/mysql.php line 70 circumvents the problem.

      It should also be noted that the socket information is not present in ezpublish.yml, although it was present in settings/overried/site.ini.append.php

      Attachments

        Activity

          People

            Unassigned Unassigned
            4121eaa2-dd96-4b79-ab2e-8f570a058da6@accounts.ibexa.co Donat Fritschy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4 hours Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 46 minutes
                5h 46m