Remving All of MySQL Database
Björn König
bkoenig at cs.tu-berlin.de
Sat Feb 18 05:04:30 PST 2006
Roman Shakin schrieb:
> hello i need to remove all of the mysql databases... i messed it up...
> and now cant log in? please help. I tried deleting the /var/dg/mysql and
> running mysql_install_sh
just start mysql after removing the database, i.e.
/usr/local/etc/rc.d/mysql-server.sh stop
rm -R /var/db/mysql
/usr/local/etc/rc.d/mysql-server.sh start
That's it. Now you have a fresh clean database. The password of the root
account is "" (without quotes ;-)
Björn
More information about the freebsd-questions
mailing list