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

Re: [cobalt-users] Raq4 - MYSQL Password Lost



You have to start mysql with '--skip-grant-tables' option and change the 
password:
/etc/rc.d/init.d/mysqld stop

safe_mysqld --skip-grant-tables
mysqladmin -uroot -p 'new_password4238965923' 
killall mysqld
/etc/rc.d/init.d/mysqld start

Or if you don't care for you data: 

/etc/rc.d/init.d/mysqld stop

locate where your databases are stored (for cobaltsupport.com's mysql 
4.0.18 package it's /home/mysql4) 
and remove everything (but don't forget to make a backup!) 

/etc/rc.d/init.d/mysqld start

It will re-create the databases.

WBR,
Dmitry

> have a newly installed mysql package that won't let me in.
> Any ideas on how to get around this issue?