Troubleshooting apache Debug Apache errors Deny connections from bots/attackers using Apache mysql Check the MySQL log file Disable binary logging in MySQL Install and run mysqltuner