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

Impossible to manually disconnect the current database connection.

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: 5.1
    • Fix Version/s: None
    • Component/s: Database related
    • Labels:

      Description

      Usecase: Implement threading using pcntl_fork.

      Parent has a connection which child-process inherits. Child exits and the database-connection is closed.

      Parent spawns a new child, now with a connection with an invalid state.

      Result: Error: 2006, Mysql server has gone away.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Henning Kvinnesland
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: