Tijmens
July 16th, 2011, 09:26 PM
I forgot my root password for mysql, and after some searching I found several solutions to fix it. But none of them seem to work.
I tried this article http://ubuntu.flowconsult.at/en/mysql-set-change-reset-root-password/ with starting mysql with the --skip-grant-tables option. The problem is that nothing happens, it just hangs.
Also tried the the --init-file option, that one runs fine, at least it returned to the command line. But the sql query in the file to which it point doesnt seem to do anything. The password wasn't changed to the one I specified in the sql file.
Any idea what could be going on here, and how I could fix it?
I tried this article http://ubuntu.flowconsult.at/en/mysql-set-change-reset-root-password/ with starting mysql with the --skip-grant-tables option. The problem is that nothing happens, it just hangs.
Also tried the the --init-file option, that one runs fine, at least it returned to the command line. But the sql query in the file to which it point doesnt seem to do anything. The password wasn't changed to the one I specified in the sql file.
Any idea what could be going on here, and how I could fix it?