After install and configurer cacti and when enter (http://ipaddress/cacti/)
get this error
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 341
Plz help me out
I'm using RedHat 9 with all packages install.
Plz Help
Moderators: Developers, Moderators
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Some possible senarios:
- Mysql module for php is not installed. Check out /usr/lib/php4, if there is not a mysql.so, then you need to install mysql support for php.
- Make sure that you have updated the Database, Username and Password in the include/config.php in the cacti installation directory. Also, attempt to connect to the database as your cacti user to check that the user is configured correctly.
Code: Select all
mysql -u cactiuser -p cacti
- Mysql is not running....
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Hi , I check /usr/lib/php4, for mysql.so , i cant find it there. so please help me how can i install mysql support for php.rony wrote:Some possible senarios:
Let us know what the problem is/was.
- Mysql module for php is not installed. Check out /usr/lib/php4, if there is not a mysql.so, then you need to install mysql support for php.
- Make sure that you have updated the Database, Username and Password in the include/config.php in the cacti installation directory. Also, attempt to connect to the database as your cacti user to check that the user is configured correctly.
Code: Select all
mysql -u cactiuser -p cacti
- Mysql is not running....
where can i find mysql support of php and how can i install.
Thanks in Advance .
plz help me out
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
First, I direct you to the wealth of knowledge located at http://www.php.net.
Second, have fun, it's all about learning!
Second, have fun, it's all about learning!
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 0 guests