Skip to content

Login fails if database connection is lost #3

@kielstr

Description

@kielstr

Hey,

This problem is due to the fact you are caching the database connection. If the db connection is lost the cached connection is invalid and results, in my case in a mysql error 'server has gone away'.

my $database = $self->plugin_database($self->db_connection_name);

fixes the problem.

Cheer,

Kiel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions