Thanx to WIntellect @BSD Nexus heres a even more propper way to fire up MySQL on OpenBSD, add the following line to your rc.local
/usr/local/bin/mysqld_safe -u _mysql > /dev/null & echo -n ‘ mysqld’;
Posts Tagged ‘mysql’
The Propper way to fire up MySQL PT2
Wednesday, December 1st, 2004The Propper way to fire up MySQL
Monday, July 26th, 2004grrr
been pulling my hair out as cron wasnt firing up, tracked the problem down to rc.local, the command to start mysql was preventing cron from running but everything seemed A-OK on the outside.
heres the correct lines to insert into rc.local on OpenBSD to fireup mysql without causing any knock on effects:
if [ -x /usr/local/bin/mysqld_safe ]; then
/usr/local/bin/mysqld_safe > /dev/null & echo -n 'mysql '
fi



