Hi all,
This is probably a simple question, but how would I arrange for MySQL to
be started at boottime? The docs for the rc scripts were not that helpful
to me, or maybe I just missed something... TIA!
--toby--
This is probably a simple question, but how would I arrange for MySQL to
be started at boottime? The docs for the rc scripts were not that helpful
to me, or maybe I just missed something... TIA!
--toby--
Take a look at --> man rcQuote:> This is probably a simple question, but how would I arrange for
> MySQL to be started at boottime? The docs for the rc scripts
> were not that helpful to me, or maybe I just missed something...
> TIA!
asg
#!/bin/sh
case "$1" in
start)
if [ -x /usr/local/mysql/bin/safe_mysqld ]; then
/usr/local/mysql/bin/safe_mysqld --user=mysql >
/dev/null & && echo -n ' mysqld'
fi
;;
stop)
/usr/bin/killall mysqld > /dev/null 2>&1 && echo -n '
mysqld'
;;
*)
echo ""
echo "Usage: `basename $0` { start | stop }"
echo ""
exit 64
;;
esac
Quote:> Hi all,
> This is probably a simple question, but how would I arrange for MySQL to
> be started at boottime? The docs for the rc scripts were not that helpful
> to me, or maybe I just missed something... TIA!
> --toby--
1. start mysql database as mysql instead of root
Hi
having trouble with mysql
i can only start the server as root
when i use adduser interactivly to create mysql
i use /usr/bin/false as the shell
but i am not sure about the password
or if i need a home directory for the mysql user
what adduser command do i use to
create an unprivilidge user (mysql)
for the mysql server to run as.
shadrock
3. starting apache and mysql at boot
5. kde wont start on boot, will start on reboot
7. RH9: I need to start ADSL-START as root for the first time after boot ....
8. Newbie: Accessing dir. only work when including trailing "/"
9. "Starting lpd..." failure at boot/start-up
10. X-server unable to get started - but it's set to start on boot!
11. Can subsystem start with startsrc be started at boot time?
13. Starting MySQL Server in RH 7.2