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.


1 Answer 1


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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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