I m getting Fatal error: Call to undefined function: mysql_connect() in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 320
Ive double checked the config, permissions, db user/pass etc...
I dont know what exactly is wrong. Ive look at line 320 and dont see where its leading too.
Can anyone point me in the right direction?
Fatal error:...
Moderators: Developers, Moderators
Error
a) You did not configure PHP with MySQL support, or
b) You tried to configure it but it couldn't find necessary files so skipped it, or
c) You configured PHP with MySQL support as a DSO but you didn't load the DSO in your php.ini config file, or
d) You added the MySQL DSO to the php.ini config, but PHP is not looking in that location for the php.ini file.
b) You tried to configure it but it couldn't find necessary files so skipped it, or
c) You configured PHP with MySQL support as a DSO but you didn't load the DSO in your php.ini config file, or
d) You added the MySQL DSO to the php.ini config, but PHP is not looking in that location for the php.ini file.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
"php -m" should include the MySQL module. If you are using MySQL 4.1, then you are having an "Old Password" support connect problem. If this is the case, please search the message board for configuration instructions.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 2 guests