--mysql-native-password=ON make i lost the connection with bd

arloesitech
HOBBYOP

a year ago

tenho uma aplicação php que utiliza mysql-native-password, e sabemos que a partir da versao 8.0 do php vem com sha2, porém olhando em um topico aqui foi recomendado adicionar ao container mysql em settings -> Custom Start Command, adicionar o comando --mysql-native-password=ON, porém agora perdi a coneção via ferramentas e via aplicação também, o erro retornado é "Access denied for user 'root'@'192.168.48.4' (using password: YES)"

3 Replies

a year ago

Hey! I'm not sure about the error you are encountering. It may be that the parameter should be present on first deploy of the image so that the database is initialized properly, but I have not encountered this before. I can push this thread to our public forums so our community can help out, or I can try researching this a bit later in the week if it's not a pressing issue for you. Let me know what you'd prefer!


arloesitech
HOBBYOP

a year ago

You can send it to the public forum, but this parameter is not included in the image, it is the standard railway image for MySQL, I created another image for MySQL and when I add this parameter to the custom start engine and the same error happens again


a year ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.