List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:November 28 1999 6:10pm
Subject:Re: effective vs real ID problem?
View as plain text  
At 9:29 AM -0700 11/28/99, John McDermon wrote:
>I have a database running mysql 3.22.25 on HP-UX 10.20
>
>When I log in as myself and then su to the mysql user I cannot gain 
>access to anything. I keep getting errors like:
>
>[mysql@hostname mysql]$ whoami
>mysql
>[mysql@hostname mysql]$ mysql mysql
>ERROR 1045: Access denied for user: 'username@localhost' (Using password: YES)


The error message actually says "userame"?

>
>To gain access I need to type:
>[mysql@hostname mysql]$ mysql -u mysql mysql
>
>I'm already the mysql user as shown by the id command:
>[mysql@hostname mysql]$ id -unr
>mysql
>
>Why do I need to do this?
>
>PS: the mysql password is stored in a .my.cnf file so I don't have 
>to type it every time.


It's stored in .my.cnf for which user?  Yourself?  mysql?

-- 
Paul DuBois, paul@stripped
Thread
effective vs real ID problem?John McDermon28 Nov
  • Re: effective vs real ID problem?Van28 Nov
  • Re: effective vs real ID problem?Mr. Christopher F. Miller28 Nov
    • Re: effective vs real ID problem?John McDermon28 Nov
      • Re: effective vs real ID problem?John McDermon28 Nov
  • Re: effective vs real ID problem?Paul DuBois28 Nov