Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Mar 2011 19:11:44 -0400
From:      Jerry <freebsd.user@seibercom.net>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: MySQL 3 needed but how?
Message-ID:  <20110326191144.570932c0@scorpio>
In-Reply-To: <4D8E6F03.6060604@a1poweruser.com>
References:  <20110326174100.1617.qmail@joyce.lan> <4D8E3CA4.8040808@shopzeus.com> <alpine.BSF.2.00.1103261650001.48941@joyce.lan> <4D8E5F5E.9080104@shopzeus.com> <4D8E6F03.6060604@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Mar 2011 18:56:03 -0400
Fbsd8 <fbsd8@a1poweruser.com> articulated:

> Laszlo Nagy wrote:
> > 
> >> Sounds like you'll have to do some debugging.  Try adding
> >> --verbose to mysql_args in /etc/rc.conf, and see the other advice
> >> in http://dev.mysql.com/doc/refman/4.1/en/starting-server.html
> > 
> > gw# /usr/local/bin/mysqld_safe --verbose
> > Starting mysqld daemon with databases from /var/db/mysql
> > STOPPING server from pid file /var/db/mysql/gw.sznet.pid
> > 110326 16:44:14  mysqld ended
> > 
> > The data directory is correct. I don't understand why it is
> > stopping immediatelly after startup.
> > 
> > Trying the other way around (FreeBSD 6.4 on a virtual machine)
> >>
> >> It may be something really simple, like the mysql data directory
> >> not being where the server expects it to be.
> >>
> > 
> > 
> No matter which version of mysql you install,
> you have to run this command
> mysql_install_db --user=mysql
> on the command line to create mysql's
> control databases first.

I believe that all of that is done by the mysql-server start-up file.

-- 
Jerry ✌
FreeBSD.user@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110326191144.570932c0>