|
posted: Sat 16 Jan 2010 8:27 am
You'd be surprised at how often the problem of resetting the mysql root user account comes up in the freenode #mysql irc channel. People are always referred to the online manual directions, but most can't successfully follow them. I wrote up this quick and dirty summary. This assumes you are at a local shell and that having the database exposed temporarily without account password protections is not an issue. If it is, unplug the ethernet cable for a bit:
...of course, I have always suspected that access issues in mysql serve the same purpose as the calculus requirement in college CS departments. To weed out the unworthy. ;^)
|