Hi,

Verify dB is up and running and that you have specified the correct ports as well.

Rgds



On Tue, May 6, 2014 at 11:32 AM, Watila Alex <awatila@yahoo.co.uk> wrote:
thanks
On Tuesday, May 6, 2014 12:48 AM, jeremy sinja <jeysinja@gmail.com> wrote:
Couple of ideas in my head.
1. You might be running mysql client but not the server.
2. If running on Lampp they normally have issues with mysqld.sock tunneling. If so try uninstall LAMPP and Install LAMP separately
Thats all I can think of as for now
On May 5, 2014 11:40 PM, "Alex Watila" <awatila@yahoo.co.uk> wrote:
dear all,
Kindly assist me with the following issue i am having installing moodle 2.6 on a centos 6.5 minimal install. I am using MariaDB as the database

Error: Database connection failed

It is possible that the database is overloaded or otherwise not running properly.

The site administrator should also check that the database details have been correctly specified in config.php

tail -f /var/log/httpd/error_log indicates the following error

[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/


regards,


--
Alex Watila
Consultant 
•E-Learning •Virtualization •QMS •ISMS •Information Systems •ICT






_______________________________________________
skunkworks mailing list
skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke

_______________________________________________
skunkworks mailing list
skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke



_______________________________________________
skunkworks mailing list
skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke