Hi
I have googled and read on the man pages but something is missing here.
For example i have the following in my /etc/rc.local
if [ X${mysql} == XYES -a -x /usr/local/bin/safe_mysqld ]; then
echo -n ' mysqld'; /usr/local/share/mysql/mysql.server start
fi
if [ X${snort} == XYES -a -x
Hi Edy,
I dunno about snort, but MySQL I do use.
Any clue?
Read this:
http://www.openbsdsupport.org/mysql.htm
HTH... Nico
Edy wrote:
Hi
I have googled and read on the man pages but something is missing here.
For example i have the following in my /etc/rc.local
if [ X${mysql} == XYES -a -x /usr/local/bin/safe_mysqld ]; then
echo -n ' mysqld'; /usr/local/share/mysql/mysql.server start
fi
if [ X${snort} ==
Daniel,
I have been to that site already and it does not start mysql when the
system rebooted but i could start mysql by using the command.
Cheers,
-e
Daniel Ouellet wrote:
Edy wrote:
Hi
I have googled and read on the man pages but something is missing here.
For example i have the
] On Behalf
Of
Daniel Ouellet
Sent: Thursday, December 28, 2006 2:21 PM
To: misc@openbsd.org
Subject: Re: auto start mysql and snort OpenBSD 4.0
Edy wrote:
Hi
I have googled and read on the man pages but something is missing
here.
For example i have the following in my /etc/rc.local
It should be /usr/local/bin/mysqld_safe NOT safe_mysqld
Vijay
On Fri, 2006-29-12 at 03:44 +0800, Edy wrote:
Daniel,
I have been to that site already and it does not start mysql when the
system rebooted but i could start mysql by using the command.
Cheers,
-e
Daniel Ouellet wrote:
Edy wrote:
Daniel,
I have been to that site already and it does not start mysql when the
system rebooted but i could start mysql by using the command.
Cheers,
-e
If you follow the instructions it does.
But like many you most likely put the starting scripts inside
rc.conf.local instead of
Thanks for those who has replied :)
The following is the working version:
if [ -x /usr/local/bin/mysqld_safe ]; then
su -c _mysql root -c '/usr/local/bin/mysqld_safe ' /dev/null
echo -n ' mysql'
sleep 20;
fi
# Start Snort after waiting for Mysql to complete (set it to
8 matches
Mail list logo