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

Impossible to manually disconnect the current database connection.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: