I had setup a password when I installed apache, mysql etc. and now I forgot it. How can I change it? Maybe create a new account? I just need access to the database.
EDIT: I’m using it on ubuntu
EDIT : I’d be okay with a destructive way also. i.e. uninstall everyting then reinstall everything but that’s also asking password and I don’t want to reinstall the whole OS. 🙁
This is covered in the MySQL manual.
See http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html