Skip to content

MYSQL_OPT_RECONNECT is deprecated #65

@davidtapia

Description

@davidtapia

Hello,

Beginning with MySQL 8.0.34, the automatic reconnection feature is deprecated. The related MYSQL_OPT_RECONNECT option is still available but now returns a deprecation warning to the standard error output if your application calls the mysql_get_option() or mysql_options() function with the option, even when setting it to false.

Expect automatic reconnection functionality to be removed in a future version of MySQL.

Are you planning to remove the optional MYSQL_OPT_RECONNECT?

To avoid this:
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.

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