Magento – Changed PHP 5.6 to PHP 7 with Magento 1.9

magento-1.9php-5.6php-7upgrade

I changed the version of PHP [5.6.30] to PHP [7.0.17]. But now Magento 1.9.2.1 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.

Best Answer

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

Related Topic