Resetting the MySQL password

A note to myself - I just googled for this the fifth time (or more)…

# /etc/init.d/mysql stop
# echo >reset.pass SET PASSWORD FOR 'root'@'localhost' = PASSWORD\('V3rRee-Sickr3t?'\)\;
# mysqld_safe --init-file=reset.pass
# rm reset.pass 
/home/www/LinuxBasics.org/data/pages/tutorials/advanced/networking/mysqlrootpass.txt · Last modified: 2008/07/20 21:08 (external edit)
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0