Cant Graph using Cacti

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
kingtury
Posts: 2
Joined: Mon Feb 27, 2006 3:50 pm

Cant Graph using Cacti

Post by kingtury »

Hi,
- I've been unable to get Cacti to graph. I get the following error:

X-Powered-By: PHP/4.4.1
Content-type: text/html

<br />
<b>Fatal error</b>: Call to undefined function: mysql_connect() in <b>/home/cacti/product/cacti-0.8.6g/lib/adodb/drivers/adodb-mys
ql.inc.php</b> on line <b>339</b><br />


I've tried various Mysql Versions....but still doesnt work.

Freebsd 5.4
Cacti .8.6g and .8.6h
Mysql 4.0.26,4.1.18,5.0.18
PHP 4.4.1


Any Help appreciated.

thanks


AL
Exo7
Cacti User
Posts: 136
Joined: Wed Jul 13, 2005 4:50 pm

Post by Exo7 »

Be sure to have mysql extension enabled in your php.ini
you should have a line that read "extention=mysql.so"
kingtury
Posts: 2
Joined: Mon Feb 27, 2006 3:50 pm

still unable to Graph

Post by kingtury »

thanks for the reply, but I cant find php.ini other than in the ports tree.

root@myserver[/]=>find . -name "php.ini" -print
./local/ports/www/php4-cgi/work/php-4.4.1/pear/tests/php.ini
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests