Won't Install Won't Install
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Won't Install

Started by SteveToms, March 24, 2005, 02:28:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SteveToms

Could not create a mySQL connection, please check the SQL values entered

MySQL error was : Unknown MySQL server host '*** ' (1

Tranz

Have you confirmed with your webhost that the settings are correct?

SteveToms

I have installed phpbb and php nuke so yes. This is just a new db

kegobeer

Make a test php file with this:

<?php
$localhost 
'your host name';
$mysql_user 'your mysql user name';
$mysql_password 'your mysql password';
$mysql_database 'your mysql database name';

$link mysql_connect($localhost$mysql_user$mysql_password);
if (!
$link) {
   die(
'Could not connect: ' mysql_error());
}
echo 
'Connected successfully<br />';

$db_selected mysql_select_db($mysql_database$link);
if (!
$db_selected) {
   die (
'Can\'t use ' $mysql_database ': ' mysql_error());
}
mysql_close($link);
?>


Put in your information.  Do you get a connection?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

SteveToms

I got it too work, new db created. I guess my other one did not want to work

btos

I wish I could understand how this fix was done. How is the php file named and where does it go? I have a similar problem and have been trying for hours to find an answer and this is about as close as I have come yet.