home list archives users mailing list

Subject: Re: Fwd: error during End-to-End client exexution

Date view Thread view Subject view Author view Attachment view

From: Mario Antonioletti (mario@epcc.ed.ac.uk)
Date: May 30, 2007 14:02

Hi,

> I tried the following command using pass ogsadai
> $ mysql -u ogsadai -p
> yeah its giving the following error
> ERROR 1045 (28000): Access denied for user 'ogsadai'@'localhost' (using
> password: YES)

Have you actually:

  1. Created the ogsdai user?
  2. Create the ogsdai database?
  3. Associated the ogsadai user with the ogsadai database?
  4. Flushed the priviliges table in ogsadai?

It looks like you cannot login directly to mysql so clearly ogsadai
will not work. Also, make sure you specify what hosts you can login
to the ogsadai account on the mysql instance.

More information on creating users in mysql from:

   http://dev.mysql.com/doc/refman/4.1/en/adding-users.html

you will need root/admin priviliges on the database to do this.
Hope this helps,

Mario

+-----------------------------------------------------------------------+
|Mario Antonioletti:EPCC,JCMB,The King's Buildings,Edinburgh EH9 3JZ. |
|Tel:0131 650 5141|mario@epcc.ed.ac.uk|http://www.epcc.ed.ac.uk/~mario/ |
+-----------------------------------------------------------------------+


Date view Thread view Subject view Author view Attachment view