this is listed in the FAQ, but the answer that mysql is not loaded is not true for me. I get this error:
Code: Select all
[Sat Apr 30 22:14:07.787050 2016] [:error] [pid 23758] [client ::1:51192] PHP Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /usr/share/webapps/cacti/lib/adodb/drivers/adodb-mysql.inc.php:355\
Stack trace:
#0 /usr/share/webapps/cacti/lib/adodb/adodb.inc.php(470): ADODB_mysql->_pconnect('localhost', 'cactiuser', '100783', 'cacti')
#1 /usr/share/webapps/cacti/lib/adodb/adodb.inc.php(3624): ADOConnection->PConnect('localhost', 'cactiuser', '100783', 'cacti')
#2 /usr/share/webapps/cacti/lib/database.php(51): ADONewConnection('mysql')
#3 /usr/share/webapps/cacti/include/global.php(212): db_connect_real('localhost', 'cactiuser', '1234567', 'cacti', 'mysql', '3306', false)\n#4 /usr/share/webapps/cacti/include/auth.php(25): include('/usr/share/weba...')
#5 /usr/share/webapps/cacti/index.php(25): include('/usr/share/weba...')
#6 {main}
thrown in /usr/share/webapps/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
Code: Select all
# php -m | grep sql
mysqli
mysqlnd
I already tried loading pdo_mysql.so, but no change.
There is a bug report https://bugs.debian.org/cgi-bin/bugrepo ... bug=815987 which may be related.
What is wrong here with my setup or cacti?
Thanks!