change authentication method of mysql database
arloesitech
HOBBYOP

2 years ago

im getting this error on my application mysqliconnect(): The server requested authentication method unknown to the client [cachingsha2_password] i never had this problem before is just happening in railway

10 Replies

arloesitech
HOBBYOP

2 years ago

f3475e58-a033-43d5-949d-e50612cc3675


2 years ago

your mysql client would need to be compatible with caching sha2 password, what is your mysql client?



arloesitech
HOBBYOP

2 years ago

we have one php backend and uses this


arloesitech
HOBBYOP

2 years ago

its probably the version of php


arloesitech
HOBBYOP

2 years ago

its running in version 7.1


2 years ago

yep that's quite old



arloesitech
HOBBYOP

2 years ago

should i try?


2 years ago

try updating the php version first


Loading...