A
A
Alexander Ampleev2019-10-30 17:40:04
MySQL
Alexander Ampleev, 2019-10-30 17:40:04

Why doesn't authorization work in MySql (sha256_password, Ubuntu)?

I create a user with the following command:

CREATE USER shop IDENTIFIED WITH sha256_password BY 'pass';

Then I try to authorize under it like this:
mysql -u shop -p
I enter the password and get the following error:
"Authentication plugin 'sha256_password' reported error: Authentication requires SSL encryption".
How to solve this problem? Thanks in advance for your replies

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shohruh Shaimardonov, 2019-10-30
@joeberetta

Was it hard for you to go to the first link in Google , and even in the office doc ???

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question