Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jan 2011 17:23:32 -0500
From:      "J. Hellenthal" <jhell@DataIX.net>
To:        "dsc fbsd.current" <dsc.fbsd.current@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: jailing MYSQL error
Message-ID:  <4D20FAE4.1070608@DataIX.net>
In-Reply-To: <003901cbaa8c$bb859bb0$3290d310$@gmail.com>
References:  <003901cbaa8c$bb859bb0$3290d310$@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D20FAE4.1070608>