I have a bit of a weird problem.

Am running mysql in a chrooted jail directory on an ubuntu 10.04 server

To get MYSQL to work properly within the jail I have to run this command:

mount --bind /var/run/mysqld /home/pathofjail/var/run/mysqld/

However for some weird reason maybe a week or two or three later mysql stops working in the jail and I again have to execute the above command. I don't even know what the mount --bind command does, just found it on a forum (actually this site! ). But can someone tell me what's going on here?

link|improve this question

Did you reboot your server? This command is not permanent. Anything in the MySQL logs? Also I'm not sure why you would need this bind mount in the first place. – faker Oct 30 '11 at 16:13
@faker Mmm... I don't know if the server rebooted or not. I don't know why I need this bind mount either. Any other ideas? – Emmanuel Oct 31 '11 at 9:14
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.