MySQL 8.4 error Authentication plugin 'sha256_password'... SSL encryption

Post Reply
User avatar
José
Posts: 54
Joined: Sat Dec 10, 2016 8:58 pm

MySQL 8.4 error Authentication plugin 'sha256_password'... SSL encryption

Post by José »

Hola amigos

He necesitado probar mi software con MySQL 8.4 en el servidor (hasta ahora he usado MySQL 5.7), y con 8 encuentro este error:

2061
Authentication plugin 'sha256_password' reported error:
Authentication requires SSL encryption

Se puede modificar el servidor y activar el método antiguo para poder acceder, pero quizás eso sea inseguro o se descontinúe y entonces ya no servirá; además, siempre es mejor seguir las reglas.

Quedo atento a cualquier ayuda.

Gracias!!
José Concha Leiva - Chile
"Querer, saber y hacer, es poder"
HB MSVSC + FWH 24.04 + MySQL/MaríaDB/DBFCDX (64 bits)
https://zenitx.com
User avatar
karinha
Posts: 8720
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

Re: MySQL 8.4 error Authentication plugin 'sha256_password'... SSL encryption

Post by karinha »

Como estás haciendo? Asi?

Code: Select all | Expand

ALTER USER 'username'@'hostname' IDENTIFIED WITH caching_sha2_password BY 'password'

mysql -u your_user -p --server-public-key-path=/path/to/public_key.pem

SHOW STATUS LIKE 'Rsa_public_key'
https://stackoverflow.com/questions/491 ... -be-loaded

https://github.com/docker-library/mysql/issues/454

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
vilian
Posts: 1068
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: MySQL 8.4 error Authentication plugin 'sha256_password'... SSL encryption

Post by vilian »

Hi Jose,

FWHMySql doesn't work with MySQL SSL Connections. Mr Rao was doing tests with this, but unhappiness, he couldn't finish this work.
Sds,
Vilian F. Arraes
[email protected]
Belém-Pa-Brazil
User avatar
Otto
Posts: 7020
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: MySQL 8.4 error Authentication plugin 'sha256_password'... SSL encryption

Post by Otto »

Hello Villian,
in which source file can the functions and methods for FWHMySql be found?
Best regards,
Otto
vilian
Posts: 1068
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: MySQL 8.4 error Authentication plugin 'sha256_password'... SSL encryption

Post by vilian »

Hi Otto,
I believe they are in FWMARIA.PRG.
Sds,
Vilian F. Arraes
[email protected]
Belém-Pa-Brazil
User avatar
cnavarro
Posts: 6763
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: MySQL 8.4 error Authentication plugin 'sha256_password'... SSL encryption

Post by cnavarro »

Prueba poniendo esta DLL junto al EXE
https://github.com/cristobalnavarro/Tes ... mysql_.dll
( renombrala a libmysql.dll, evidentemente )
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Post Reply