See below....
Iguider wrote:
in my dtabase.php :
$dbHost = "";
$dbUser = "Amazigh";
$dbPassword = "mcamca";
$dbName = "Forum";
$db = mysql_connect($dbHost, $dbUser, $dbPassword);
mysql_select_db($dbName, $db);
$dbHost is empty. If the script is on the same machine as the MySQL db,
set it to "localhost". If the script is on a different machine, set it
to the name of that machine (and make sure that your $dbUser has rights
to access the database remotly). MySQL usernames and passwords are case
sensitive.
and in phpMyAdmin's config.inc.php :
$cfgServers[$i]['user'] = 'root'; // MySQL user
$cfgServers[$i]['password'] = ''; // MySQL password
If you have a root password, fill it in. Seeing that it won't let you
connect via phpMyAdmin, the db probably has a root password.
----- Original Message -----
From: "Stephen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL PROTECTED]>
Sent: Monday, November 11, 2002 10:14 PM
Subject: Re: [PHP] phpMyAdmin please help
You may also want to check your forum's database.php after checking the
phpMyAdmin's config.inc.php.
----- Original Message -----
From: "John Nichel" <[EMAIL PROTECTED]>
To: "Iguider" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, November 11, 2002 4:47 PM
Subject: Re: [PHP] phpMyAdmin please help
Look at the "config.inc.php" file in the phpMyAdmin install directory.
Iguider wrote:
Hi
I have a furom working under php 4.0 and when I upgrade it to php 4.2
by installing the new version of easyphp 1.6.0.0 . the new phpMyAdmin is
2.2.6 .
when I run the forum or I tried to re-create a tables in mySQL
database
with a install.php it shows me the following errors :
Warning: Unknown MySQL Server Host 'mySQL' (22) in e:\program
files\easyphp\www\forum\database.php on line 7
Warning: MySQL Connection Failed: Unknown MySQL Server Host 'mySQL'
(22)
in e:\program files\easyphp\www\forum\database.php on line 7
Warning: mysql_select_db(): supplied argument is not a valid
MySQL-Link
resource in e:\program files\easyphp\www\forum\database.php on line 8
are there in phpMyAdmin where to give a database username and password
?
when I copy the old database and i try to start the forum it shows me
"acces
denied to name@localhost (password : ok) ".
Please help
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__________________________________________________
Modem offert : 150,92 euros remboursés sur le Pack eXtense de Wanadoo !
Haut débit à partir de 30 euros/mois : http://www.ifrance.com/_reloc/w
__________________________________________________
Modem offert : 150,92 euros remboursés sur le Pack eXtense de Wanadoo !
Haut débit à partir de 30 euros/mois : http://www.ifrance.com/_reloc/w
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php