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

MySQLi connection through TCP/IP even if socket mode is disabled and servername is localhost

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 5.0
    • Database related
    • None

    Description

      See : http://php.net/manual/en/mysqli.construct.php

      Specifying the socket parameter will not explicitly determine the type of connection to be used when connecting to the MySQL server. How the connection is made to the MySQL database is determined by the host parameter.

      This means that in ezmysqlidb.php, if server = 'localhost', the connection is done through socket even if $socketPath = false, ending in an error in some case.

      Attachments

        Activity

          People

            Unassigned Unassigned
            arnaud.lafon@gmail.com arnaud.lafon@gmail.com
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: