On Sat, 26 Mar 2011 18:56:03 -0400 Fbsd8 <fb...@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.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"