The default location is /var/lib/mysql
You can change mysql data directory by adding the following entries in /etc/my.cnf file
datadir=newlocation/path
save the file, move the necessary database files from /var/lib/mysql to the new location and restart mysql.
(more…)
You can login into the server through SSH and the issue the following command at the prompt.
[root@localhost ~]# cat /etc/psa/.psa.shadow
The easiest way to recover the admin password on a Windows server with a Plesk installation is accessed by a shell or terminal server and run this command.
C:\>"%plesk_bin%"\plesksrvclient.exe -get
the window wont open with the Plesk admin password.