Skip to content

Version 0.28.1 authentication issues #173

@bfjnaude

Description

@bfjnaude

Hi all,

mysql_async 0.27.1 works well with Mariadb. Upgrading to 0.28.1 causes authentication issues.

Sample program to recreate the issue

Running the example program using mysql_async 0.27.1 produces:

Connected to database with version 10.3.23-MariaDB-log

Running the example program using mysql_async 0.28.1 produces:

thread 'main' panicked at 'Could not connect to db: Server(ServerError { code: 1045, message: "Access denied for user 'zulzi-user'@'10.240.0.29' (using password: YES)", state: "28000" })', src/main.rs:16:47

Note: a connection URL with the format mysql://user@db-host:password@db-host.some_domain/db_name was used.

The same connection string works on 0.27.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions