Page 1 of 1

mysqld automatic start in a jail...

Posted: 06 Jun 2013 22:49
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...

Re: mysqld automatic start in a jail...

Posted: 08 Jun 2013 09:31
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...

Re: mysqld automatic start in a jail...

Posted: 11 Jun 2013 08:18
by fsbruva
Make darn sure that you run the mysql_secure_installation to lock down your mysql installation.