[MDEV-21745] mariadb-10.4.11: Client authentication fails: ERROR 1698 (28000): Access denied for user 'root'@'localhost' Created: 2020-02-17  Updated: 2020-04-28  Resolved: 2020-04-28

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Fix Version/s: N/A

Type: Task Priority: Blocker
Reporter: Lukas Javorsky Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: client, mariadb, upgrade

Issue Links:
Relates
relates to CONC-441 Default user name for C/C is wrong if... Closed

 Description   

One of the tests fails on authentication error when upgrading from mariadb-10.3 to mariadb-10.4.

Here is the bug report on fedora's bugzilla, for better explanation please read it. https://bugzilla.redhat.com/show_bug.cgi?id=1796106

Execution of command (as user lukas) mariadb -S /tmp/t/tmp/mysql.sock ends with: "Client authentication fails: ERROR 1698 (28000): Access denied for user 'root'@'localhost'." It somehow changed the user to root, because if you run the command with the option --user $USER it starts to work.

I would be really grateful, if you could help me with a solution or give me some tips what could be wrong. Big question for me is why does the mariadb -S /tmp/t/tmp/mysql.sock command tries to access the root@localhost, when the user is someone else.



 Comments   
Comment by Lukas Javorsky [ 2020-03-16 ]

You can close this issue. It was resolved in https://jira.mariadb.org/browse/CONC-441

Comment by Oleksandr Byelkin [ 2020-04-28 ]

Duplicate of CONC-441 according to the author

Generated at Thu Feb 08 09:09:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.