Re: jailing MYSQL error

From: J. Hellenthal <jhell_at_DataIX.net>
Date: Sun, 02 Jan 2011 17:23:32 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hello,

Just to be sure as the long detailed information that you laid before
can lead to confusion, lets take this one step at a time.

Assuming all your bases are covered and it sinks down to a permissions
issue try this:

chown root:wheel /path/to/jail/tmp /path/to/jail/var/tmp
chmod 1777 /path/to/jail/tmp /path/to/jail/var/tmp
rm -rf /path/to/jail/var/db/mysql

- -Login to the jail here-
make sure that rc.conf* only contains mysql_enable="YES"
service mysql-server start

ls -ld /var/db/mysql should convey mode 700 or drwx------ and uid/88
gid/88 mysql/mysql



At this point your mysql server should be running and fully working.

Another thing to make sure you eliminate just in case... would be any
my.cnf files in /etc or /usr/local/etc


Good luck

- -- 

Regards,

 jhell,v
 JJH48-ARIN
-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJNIPrkAAoJEJBXh4mJ2FR+fLEH/0N91782PKGna/DZNoRF4hWJ
8tTh9bPFaHGjRu2ITC08gFJBLaAK8hE5oh9Tg5k6eysyzjE1EEHXUAJaL6B8Rg+N
w5m66OGtvunX8JQqwu8d6ulDLk4EHex7Aaf0G2wfpW2OBDP4oCbeXxaakDJp+dzB
GGf4a4ezODgQsr8Hxva71bgesfQ6a1BEirf/pwGcaQs9y1lCgoRK6M+iKDKqruLM
Vyp4oNCHX52GTKa/cpx2VveZG/F21RabYtCVrBhU3Xq0EbDeDkiP2JjZt0xNPJVA
dnCfCtTRECeruqlFHekH7MayF7uZ5nZIjJ3SEA6xHTCyt3PVC7oxr1NCmaETWJQ=
=HFv4
-----END PGP SIGNATURE-----
Received on Sun Jan 02 2011 - 21:23:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:10 UTC