I made a chroot using debootstrap, then used apt in the chroot to install mysql-server-5.1. When I start the server with sudo /sbin/initctl start mysql (again, inside the chroot), /var/run/mysqld/mysqld.sock (the one outside the chroot) is overwritten! Anyone know why/how that might be happening? It also looks like mysqld in the chroot is using the datadir (/var/lib/mysql) outside the chroot.
Aha: https://bugs.launchpad.net/ubuntu/+s...rt/+bug/430224 https://wiki.ubuntu.com/KarmicKoala/...n%20a%20chroot
Ubuntu Forums Code of Conduct