0

I have I have a server fault. So I have boot to rescue mode and logged in using ssh as root. I have mounted all the disk and in fact I can see files, users etc. (I was using Vestacp as Control Panel). However, I can't find mysql folder. The documentation says it should be in /mnt-disk/var/lib/mysql but my directory is empty. I even tried searching for my.cnf but I can't find it.
Could anyone know what could have happened?

Tim
  • 9
  • 1
  • What is the result of `mount` command? – Romeo Ninov Oct 19 '22 at 06:45
  • 1
    aahh... nice. So the server is in French and i don't know French. There was a mount error that I had not see. But after playing around, i have found it. – Tim Oct 19 '22 at 07:08

1 Answers1

0

The issue was with mounting the disks. use these commands to mount.

sudo mkdir /media/newhd
sudo mount /dev/sdb1 /media/newhd

source: https://www.cyberciti.biz/faq/mount-drive-from-command-line-ubuntu-linux/

Tim
  • 9
  • 1