Hi to all,

I am working on i60086 environment with php-4.0.4pl1, mysql-3.23.36,
Linux 7 and apache_1.3.19 (on the same computer).

I can't connect to mysql with user and password i use in command line.
This is what i do:

<?php

$serveur="sdnpc2.sdnp.cm";
$login="root";
$pass="sdnp";
$base="sdnpdb";

mysql_connect($serveur,$login,$pass) or die ("Connexion au serveur
impossible");
mysql_select_db($base) or die("connexion a la base de donnees
impossible");
.
.
.
?>

this program is called when i submit my form (<form action="bd.php"
method=post>) and i have the follow error message:
Warning: MySQL Connection Failed: Access denied for user:
'[EMAIL PROTECTED]' (Using password: YES) in
/www/htdocs/sdnpdev/Creation_Membre.php on line 11
Connexion au serveur impossible

Please can somebody help me?

Thanks in advance

Bertrand


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to