I changed the version of PHP [5.6.30] to PHP [7.0.17]. But now Magento returns the following error:

SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

I tried the following solutions:

  1. https://gist.github.com/MageMechanic/66449504110fbbd96214
  2. http://afilina.com/magento-1-9-on-php7/

But the error is still there.


Try to restart mysql0. Looks like your sql has stopped.

  • I posted the answer in comment above.
    – Jarnail S
    May 10 '17 at 11:30
  • 1
    Ok great, sorry didn't see it @Jai May 10 '17 at 11:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.