Anonymous wrote:I get the following message when I try to install advanced poll (mysql version) by running install.php.
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/poll/install.php on line 666
looking at line 666 in install.php shows the following:
$serverid = mysql_connect($POLLDB["host"], $POLLDB["user"], $POLLDB["pass"]) or poll_error_msg("Cannot connect to mysql database");
I've set the config.inc.php file to:
$POLLDB["dbName"] = "poll";
$POLLDB["host"] = "localhost";
$POLLDB["user"] = "myusername";
$POLLDB["pass"] = "XXXXXX";
$POLLDB["class"] = "class_mysql.php";
I'm new to both php and mysql. The mysql server is running and it responds fine to "mysqladmin version". I've setup a user on the mysql server with the same username and password I entered in the config.inc.php file.
Any suggestions on why I'm getting this error would be greatly appreciated.
Cheers,
Ranken
Sounds like you don't have your MySQL database setup. You did set that up right?