"davezes" <[EMAIL PROTECTED]> wrote:

> Is password the user password or the db password?

DB password.

> What is login? is that the computer username?

It's your MySQL login username, but it's probably is the
same as your local username -- mySQL maintains it's own username and
password database.

If you can edit your database from the command line, then you probably
have setup a passwordless login for your login account which I'm
guessing is 'davezes'. The mysql_connect function doesn't like this as
it is expecting a password (see "using password: YES").

Try configuring a password for your account?

 [EMAIL PROTECTED]:~$ mysqladmin password <mypassword>


Kind regards,

-- 
 Chris Lamb, Leamington Spa, UK                        GPG: 0x634F9A20

Attachment: signature.asc
Description: PGP signature

Reply via email to