Welcome! Log In Create A New Profile


Installation script problem

Posted by Nicky45 
Installation script problem
July 09, 2015 03:29PM

I've been trying for a couple of days to connect to the database and I'm getting the error:-

Sphider installation script.
Cannot connect to database, check if username, password and host are correct.

I've changed database.php which now reads:-

$mysql_user = "********_nicky";
$mysql_password = "Three3TTaes";
$mysql_host = "localhost";
$mysql_table_prefix = "";

I can connect to my database through PhpMyAdmin.

The database has been set up and is named ********_spider, password Three3TTaes, user ********_nicky

I have managed previously to get a sphider database to work but I'm about to give up this time. It's probably something really obvious but I've looked so much I'm not seeing it!

I hope someone can point me in the right direction.
Re: Installation script problem
July 09, 2015 11:26PM
<<< $database="********_sphider"; >>>
might be okay, or not. Because whatever all the asterisks could contain, for example special characters, you may fail. Depends on your MySQL version and its connector to the Sphider scripts.

<<< $mysql_table_prefix = ""; >>>
will be another problem. Because a table prefix is a MUST. “” is not enough.

Sorry, only registered users may post in this forum.

Click here to login