• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

mysqldump -uadmin -ppasswd -A > /mnt/backup what user/pass?!!

A

arvin

Guest
hello every body!

when I use

Code:
mysqldump -uadmin -ppasswd -A > /mnt/backup

what user/pass must be use?!

thnx in advance!
rvn
 
thnx and I know that but when i try adminpass of plesk the access error accured:

Code:
 1045: Access denied for user: 'admin@server' (Using password: YES) when trying to connect
 
Then I think you made a typo the first time around. To see your Plesk password type cat /etc/psa/.psa.shadow. This should work too (of course specifying a valid file name and path):

Code:
mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` -A > /path/to/file

I think you've probably mounted a drive at /mnt/backup so I'd not > directly to /mnt/backup, but rather use something like /mnt/backup/mysql-all.dump or /mnt/backup/mysql-all-`date +%Y%m%d-%H%M`.dump (if you want the date and time in the filename).
 
oh , very thnx to your complete answer,

YEAH, just Work!

that's right, i have a back up hard, and yes mybe i take a mistake in typing passwd!!!

you pattern for using % template taste very delicious!

thnx any way breun and i keep my finger cress for you!
 
Back
Top