This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

mysqld automatic start in a jail...

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
choco62
Status: Offline

mysqld automatic start in a jail...

Post by choco62 »

Hello !
I just performed mysql and phpmyadmin installation within a jail and it seems to work... but i need to run mysql manually with the "mysql_safe &" command (neither "mysql-server start" nor "mysql start" responds).
I'd like to run mysqld automaticaly on boot, so i add the "mysql_enable=YES" line in the rc.conf file, and it doesn't work. I tried to edit mysql-server script but even after reading some pages on dev.mysql.com, i don't understand a word :cry: :cry: :cry:
Now it's time for me to confess that i need some help...
Last edited by choco62 on 08 Jun 2013 11:35, edited 1 time in total.

choco62
Status: Offline

Re: mysqld automatic start in a jail...

Post by choco62 »

Hello !
SOLVED !!!
I just had to set properly the "mysql_dbdir" in the "/usr/local/rc.d/mysql-server" script.
If this can help...

fsbruva
Advanced User
Advanced User
Posts: 378
Joined: 21 Sep 2012 14:50
Status: Offline

Re: mysqld automatic start in a jail...

Post by fsbruva »

Make darn sure that you run the mysql_secure_installation to lock down your mysql installation.

Post Reply

Return to “Jails”