OpenVZ Forum


Home » General » Support » Mysql Sockets?
Mysql Sockets? [message #35776] Wed, 22 April 2009 06:26 Go to previous message
althalus is currently offline  althalus
Messages: 12
Registered: April 2009
Junior Member
Hi guys,

Experimenting with and testing OpenVZ at the moment, and so far I'm impressed. Things more or less just work, which is a much better experience with other virtualisation products I've tried.

I have a question regarding MySQL. I like the idea of having a mysql server that's more or less isolated from the network. Is it actually possible to share the socket between containers? I've seen a few approaches like this:
http://forum.openvz.org/index.php?t=tree&goto=27708
But it would seem that mounting a directory in the host does not actually mount the directory in the container.

I've seen other approaches that rely on a cronjob and a hard link, and whilst I have yet to test one of those, I'd prefer to not have the overhead of a cronjob running every 15 minutes and I'd rather not worry about databases being inaccessible in the time between the mysql socket changing and said cronjob being run again.

I realise this has probably been dealt with many a time, but there doesn't appear to be anything recent on the topic.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mount --bind Bug in OpenVZ?
Next Topic: ** SOLVED ** e1000e device eth0 does not seem to be found
Goto Forum:
  


Current Time: Sun Sep 15 22:09:48 GMT 2024

Total time taken to generate the page: 0.06267 seconds