I just recently installed OpenBSD 3.9 and installed mysql client &
sever via pkg_add. I also added the following lines to rc.local:
if [ X"${mysqld_flags}" != X"NO" ]; then
if [ -x /usr/local/bin/mysqld_safe ]; then
echo -n ' mysqld'; /usr/local/bin/mysqld_safe ${mysqld_flags} &
fi
fi
and this one to rc.conf.local:
mysql_flags=
I've since noticed (initiated by phpMyAdmin reporting there were no
databases installed, not even the default ones) that there are two
mysql process running:
ps -ax | grep mysql
17392 ?? I 0:01.63 /usr/local/libexec/mysqld
--basedir=/usr/local --datadir=/var/mysql --user=_mysql --pid-f
13452 C0- I 0:00.14 /bin/sh /usr/local/bin/mysqld_safe
I had a similar setup on OpenBSD 3.8 some time ago, but did not have
this issue. Is this simply a difference between the two versions?
Can I remove the lines from rc.*local? Where does that first mysqld
process get started from?
--
-- Matthew Peltzer
-- [EMAIL PROTECTED]