Date index for Jun 2002


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [achievo] Login refused?



Dean Pickersgill wrote:
Hello again, Ivo - sorry to be a pain, but ...


Warning: Access denied for user: 'achievo dot 
in /var/www/html/achievo/atk/db/class.atkmysqldb.inc on line 49


This message is from mysql telling Achievo that it's password (set in
$config_databasepassword in config.inc.php) is wrong.
- that the password (or the username or the database) is incorrect.
- the user is not granted access in mysql
- you did grant access and the passwords are all correct, but you forgot
 to restart mysql after you added the user.


The passwd in config.inc.php is set as follows

$config_databasehost = "localhost";
$config_databasename = "achievo";
$config_databaseuser = "achievo";
$config_databasepassword = "p0r0man0";

The password matches my database and I can connect to it from my unix
command prompt with 'mysql -u achievo -p'
password: p0r0man0

Connects fine.  Then I can 'use achievo' and issue sql's with no problem.  I
can't see that I've got ANY mysql problems and no errors are reported when I
try to use achievo.  The 'administrator' account does the same, giving me 3
chances to log-in and then simply 'login failed'.  I've set the perms on
www/html/achievo to be owned by achievo:achievo and that also makes no
difference.

What AM I missing, Ivo?!

<?php
    $link = mysql_connect("localhost", "achievo", "p0r0man0")
        or die("Could not connect");
    print ("Connected successfully");
    mysql_close($link);
?>

Does this work for you ? If so, maybe it's possible to post your phpinfo page (or a link where we can see it ?)

Sandy

--
Sandy Pleyte        <sandy dot 
ibuildings.nl BV - information technology
http://www.ibuildings.nl -  0118 41 50 54


http://www.achievo.org/lists achievo.org - ©1999-2002 ibuildings.nl BV