Hi Jon,
My guess is you installed from the freebsd ports, which should have
setup your ( ' /usr/local/mysql_install_db') but since this is a
fresh install try running is again to make sure. The at the command
line enter:
/usr/local/bin/safe_mysqld&
If it gives and error message check the 'my-server-name'.err file in
the database directory (ports sets this to /var/db/mysql) and read the
error, if you can figure out the problem post the error message. If
there is nothing in the file or no error file it is probably a
permissions problem, verify the owner of the directories ( should be
'mysql')
Hope this helps
Ken
----- Original Message -----
From: "Jon Cheng" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 15, 2001 8:43 AM
Subject: Re: FreeBSD4.3 && Mysql3.23.40 - problems with start-up
> Hello all,
> I reinstalled mysql3.23.40 server twice on freebsd 4.3, and I am
still
> having the problem that mysqld would not load up just after booting.
I ran
> safe_mysqld& as root, and then it loaded fine.
>
> I checked that /usr/local/etc/rc.d/mysql-server.sh exists, but it is
not
> loading for some reason. Here are the contents of
> /usr/local/etc/rc.d/mysql-server.sh:
>
> #!/bin/sh
>
> case "$1" in
> start)
> if [ -x /usr/local/bin/safe_mysqld ]; then
> /usr/local/bin/safe_mysqld > /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
>
> Notice that I took out the "-user=mysql" It didn't work with it in
there or
> not.
>
> Any help would be appreciated,
> thanks,
> -Jon
>
>
> --------------------------------------------------------------------
-
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try:
http://lists.mysql.com/php/unsubscribe.php
>
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php