• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Login into Mysql by cmd line

E

EdwardDekker

Guest
When I enter
Code:
mysqlcheck --all-databases -o -uadmin -p`cat /etc/psa/.psa.shadow`
The command will be executed us usual.

When enter this, do I have an error into my system after entering the password.
Code:
[root@edwarddekkerhosting ~]# mysqlcheck --all-databases -o -uadmin -p
Enter password:
mysqlcheck: Got error: 1045: Access denied for user 'admin'@'localhost' (using password: YES) when trying to connect
OS: Centos 5.7
MYSQL: Ver 14.14 Distrib 5.5.18, for Linux (i686) using readline 5.1

[root@server ~]# rpm -qa mysql
mysql-5.5.18-1.el5.art.i386
 
Last edited by a moderator:
Did you enter content of 'cat /etc/psa/.psa.shadow' as password? Do not forget that there is encrypted password. Try to use original admin's password.
 
Did you enter content of 'cat /etc/psa/.psa.shadow' as password? Do not forget that there is encrypted password. Try to use original admin's password.

Mysql don't accept my original password, only 'cat /etc/psa/.psa.shadow' will be accepted.
 
Back
Top