Skip to content

mysqli_ping() is deprecated #14

@matthi4s

Description

@matthi4s

The Mysqli driver uses mysql_ping() to check if the connection is still alive and reconnects if necessary.
This function is deprecated in PHP 8.4 (https://www.php.net/manual/en/mysqli.ping.php).

There doesn't seem to be an easy replacement and the best option is probably catching connection errors after executing queries and then reconnecting + retrying the query. The amount of retries between each successful connection should be limited.

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