Score:0

cannot find mysql folder in /var/lib/mysql in rescue mode

ki flag
Tim

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?

Romeo Ninov avatar
in flag
What is the result of `mount` command?
Tim avatar
ki flag
Tim
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.
Score:0
ki flag
Tim

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/

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.