Page 1 of 1

mysql & dns error?

Posted: Wed Feb 20, 2013 8:05 am
by squalo
I can not connect via SSH to the psa db, it is possible that ASL prevent me?
I see the password correctly
http://kb.parallels.com/en/427 (What is the root password for MySQL?)
but I always get the same error

[root @ linux7 ~] # mysql -uadmin -p'cat /etc/psa/.psa.shadow ' psa
ERROR 1045 (28000): Access denied for user 'admin' @ 'localhost' (using password: YES)
[root @ linux7 ~] #

:(

Re: mysql & dns error?

Posted: Wed Feb 20, 2013 12:05 pm
by scott
That means that the username and/or password is wrong

Re: mysql & dns error?

Posted: Wed Feb 20, 2013 2:01 pm
by faris
You need to copy and paste the code from that KB exactly:

Code: Select all

mysql -uadmin -p`cat /etc/psa/.psa.shadow`
In your post, you had

Code: Select all

mysql -uadmin -p'cat /etc/psa/.psa.shadow ' psa
which (if that's what you are actually using) is wrong. For a start you are using single quotes rather than backticks, and that's probably where things are going wrong.

Re: mysql & dns error?

Posted: Wed Feb 20, 2013 2:16 pm
by mikeshinn
it is possible that ASL prevent me?
No, ASL has nothing to do with that. That error means your mysql username and/or password is wrong.