Skip to content

mysqli::real_connect(): Authentication data too long. Won't fit into the buffer and will be truncated. Authentication will thus fail #10800

Open
@maemigh

Description

@maemigh

Description

I'm using JWT tokens as passwords for MariaDB (via PAM auth) and while using phpmyadmin 5.2.1 I see this message pop up. However, even though the message appears authentication does succeed.

It looks like mysqlnd_wireprotocol.c will set this message if (packet->auth_data_len > 0xFF)

Passwords can actually be extremely long though.

PHP Version

PHP 8.1.15

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions