Error: (2002) Connection timed out

Please check database settings in "config/database.php" file.