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@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
>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