[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Deinstall Mysql & re-install



Hi Gilles,

> I have lost access to some Mysql database after a reinstall.
> Is there a way to get back in? like deleting the mysql database (the one
> that holds privileges?)

The easiest way is to start the MySQL daemon with the --skip-grant-tables
option, which will let you login without a password. Then quickly change the
password of the root user to something you decide, and then stop and start
the MySQL daemon as normal.

--
Jens Kristian Søgaard, Mermaid Consulting I/S,
jens@xxxxxxxxxxxxxxxxxxxx,
http://www.mermaidconsulting.com/