Fatal error: Call to undefined function mysql_connect()

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
megah
Posts: 5
Joined: Wed Feb 09, 2005 8:34 pm

Fatal error: Call to undefined function mysql_connect()

Post by megah »

HELP!

I am getting the following error when trying to launch cacti ...

Windows 2003 - IIS6
PHP 5.0.3

I have allowed the ISAPI extensions to run and followed the windows documentation correctly ... I extensions for php_mysql.dll are setup correctly in php.ini aswell ...

There error is:
Fatal error: Call to undefined function mysql_connect() in C:\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Did you update the cacti config.php to have to correct username and password?

Since you are running it on windows, I would suggest using 127.0.0.1 instead of localhost as the database server.
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests