Skip to content

Fail to reset MySQL native password #2

@FrancescoBorzi

Description

@FrancescoBorzi

Since MySQL 8.0 there is a new authentication mechanism by default that prevents some apps from logging in (see mysqljs/mysql#1507 for nodejs-based apps for example).

This affects Keira3 as well. This is a known issue and the solution is usually simple (see https://stackoverflow.com/q/65271160/3497671 ), just reset the password using mysql_native_password :

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';

However in acore-docker this solution DOES NOT WORK. The query is executed without errors, but password doesn't get reset and the error persists.

I've tried by running the query from both HeidiSQL as well as directly from the MySQL server console using the bash command line inside the docker container, nothing worked.

Metadata

Metadata

Assignees

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