I have a RedHat Linux server and I'm trying to make a copy of
/var/lib/mysql/ibdata1, but I'm receiving an error saying permission denied and the file cannot be opened.
I'm logged in as root user and tried to use
Any idea of what I'm doing wrong? Sorry for my ignorance, but I don't know much about Unix systems. I was trying
sudo su mysql to make the copy, then it asks for a password that should be the one I have, but it is saying it's wrong!