Hi all -
I am new to cacti and just loaded it on a 2000 server. I thought I followed all steps correctly for installation, but I am getting the following error. Any ideas on how I can fix this???
thanks!!!!!!!!
Fatal error: Call to undefined function mysql_pconnect() in c:\Inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 355
fatal error mysql_pconnect
Moderators: Developers, Moderators
-
- Posts: 2
- Joined: Thu May 11, 2006 2:12 pm
fatal error mysql_pconnect
Christian M Price
Network Engineer - ACSD
CCNP
Network Engineer - ACSD
CCNP
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 2
- Joined: Thu May 11, 2006 2:12 pm
benn there, done that
sorry, I should have included this in my original posting. I have done all the old password configurations and still recieve the error. When I checked on the passwords with the query, I don't get any that meet the criteria:
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 5.0.21-community-nt
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> SELECT Host, User, Password FROM mysql.user
-> WHERE LENGTH(Password) > 16;
Empty set (0.00 sec)
mysql>
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 5.0.21-community-nt
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> SELECT Host, User, Password FROM mysql.user
-> WHERE LENGTH(Password) > 16;
Empty set (0.00 sec)
mysql>
Christian M Price
Network Engineer - ACSD
CCNP
Network Engineer - ACSD
CCNP
hmm, not sure. I thought mysql was strict about the syntax. After adding "old-passwords" to your my.ini, do:
shell> mysql --user=root --password mysql
shell> UPDATE mysql.user SET Password = OLD_PASSWORD('cactipw') WHERE Host = 'localhost' AND User = 'cactiuser';
mysql> FLUSH PRIVILEGES;
Another option is enabling old-passwords in mysql administrator, then manually re-settting the password for the cacti account.
shell> mysql --user=root --password mysql
shell> UPDATE mysql.user SET Password = OLD_PASSWORD('cactipw') WHERE Host = 'localhost' AND User = 'cactiuser';
mysql> FLUSH PRIVILEGES;
Another option is enabling old-passwords in mysql administrator, then manually re-settting the password for the cacti account.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
RE: Fatal error: Call to undefined function mysql_pconnect()
I wrestled with this problem for a little while until I found out what I did wrong.
My problem was with the installation of PHP. You actually need to run PHP installer first and then ADD the PHP zip file (adding and overwriting some files). In my case I used:
php-5.1.4-install.exe
php-5.1.4-win32.zip
If you omit the first step, you don't install the mysql_pconnect() function
My problem was with the installation of PHP. You actually need to run PHP installer first and then ADD the PHP zip file (adding and overwriting some files). In my case I used:
php-5.1.4-install.exe
php-5.1.4-win32.zip
If you omit the first step, you don't install the mysql_pconnect() function
Who is online
Users browsing this forum: No registered users and 2 guests