Do not use mysql connector. It has been deprecated and the php website clearly indicates this.
www.php.net/manual/en/intro.mysql.php
-- Alex Watila Consultant •E-Learning •Virtualization •QMS •ISMS •Information Systems •ICT |
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
tail -f /var/log/httpd/error_log indicates the following errorError: 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
[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 WatilaConsultant •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