Tags: PDO

SQLSTATE[HY000] [2002] Operation timed out MySQL


When you have this problem from MySQL with a fresh installation, you have to comment the bind address line in ‘/etc/mysql/mysql.conf.d/mysqld.cnf’: Don’t forget to restart MySQL service If you are using the UFW service, add this rule to your firewall: Font: https://laracasts.com/discuss/channels/laravel/sqlstatehy000-2002-connection-timed-out

Read More