mysql50-server root login

Tim Judd tajudd at
Tue Jul 28 02:21:05 UTC 2009

After running mysql_install_db, the mysql files are owned by
root:wheel instead of mysql:mysql

I've noticed that is a missing step in the docs.
# mysql_install_db
# chown -R mysql:mysql /var/db/mysql
# /usr/local/etc/rc.d/mysql start

How it sticks long enough until reboot sounds like a memory cache,
which is flushed of course at reboot.


On 7/27/09, Stew Houston <stewhouston at> wrote:
> I'm having trouble getting my MySQL server root password to "stick."  After
> installing through ports, I run mysql_install_db which gives me two commands
> to set the root password through mysqladmin.  I do this and all is well.  I
> can login as root with no problems.  After a reboot however, the I can't get
> in.  Any ideas?
> Stew
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list