Home >Operation and Maintenance >Docker >How to solve the problem that docker cannot connect to the latest version of mysql client

How to solve the problem that docker cannot connect to the latest version of mysql client

WJ
WJOriginal
2020-06-09 16:30:363526browse

How to solve the problem that docker cannot connect to the latest version of mysql client

How to install the latest version of mysql client with docker and unable to connect?

Problem: After installing mysql in docker, sqlyog cannot be used to connect;

1: Enter the docker container and find that the encryption method of mysql is caching_sha2_password

How to solve the problem that docker cannot connect to the latest version of mysql client

2: Modify the encryption method

How to solve the problem that docker cannot connect to the latest version of mysql client

3: View

How to solve the problem that docker cannot connect to the latest version of mysql client

4: Done!

Related recommendations: docker tutorial

The above is the detailed content of How to solve the problem that docker cannot connect to the latest version of mysql client. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn