On 5 May 2014 23:37, Alex Watila <awatila@yahoo.co.uk> wrote:
[Mon May 05 18:20:54 2014] [error] [client ***.***.***.***] PHP Warning:  mysqli::mysqli(): (HY000/2002): Connection timed out in /var/www/html/moodle/www/lib/dml/mysqli_native_moodle_database.php on line 375, referer: http://*.*.*.*/moodle/

  • ​Maybe try use mysql conenctor instead of mysqli​  (wild guess) i once had problems with this.
  • Check if server is running
  • Check host (if remote allow ports through firewall)
  • Also check annoying selinux


Kind Regards,
Wilson./