Won't Install Won't Install
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.