Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Non-user fault on "Can't connect to database"
  • Vote Up0Vote Down kubenqplkubenqpl
    Posts: 1Sendy user

    Hi, recently i had problem with "can't connect to database" error, and i check 100 times if credentials are OK. On troubleshooting site there was this statement "it can be only wrong credentials". So for future people having this problem but credentials are ok try what worked for me: I had mysql user with password hashed with "caching_sha2_password", which is apparently not supported on php 7.3 and lower, so the solution is to upgrade php to 7.4 or change hashing to other (for example mysql_native_password"

This discussion has been closed.
All Discussions