re: Upgrading to PHP 7.4 VIEW POST


Good job.
Switched to PHP 7.4 yesterday. Ended up having a "MySQL server gone away" error when working with Laravel. Weirdly enough, the fix was to change MySQL authentication method to caching_sha2_password.


MySQL 8.X uses caching_sha2_password as the default authentication mechanism.


I still had it on auth_socket as authentication mechanism (after I reinstalled MySQL).

code of conduct - report abuse