Resolved Command Line Login to Unix Plesk hosted MySQL Db

PeterK900

Basic Pleskian
This post provides the following login string:

# mysql -uadmin -p'cat /etc/psa/.psa.shadow.'


Entering this gives: Access denied for user 'admin'@'localhost' (using password: YES)

With MySQL -u root -p I get a password prompt but the same Access denied message.

What am I doing wrong? Thanks.
 
Last edited:
you have added an "." after shadow for one hand and for the other hand, you had to use ` char and nor ' char
 
Back
Top