MySQL install password?

steve sfreilly at roadrunner.com
Sat Jan 10 16:37:15 UTC 2009


stan wrote:
> I am trying to get ampache running on my Ubuntu machine. This package uses
> MySQL. I looked at the MySQL 5.0 docs in /usr/share/docs, and it syas there
> that I should be able to set the MySQL root user password with:
> 
> /usr/bin/mysql -u root -D mysql -e "update user set
> password=password('new-password') where user='root'"
> 
> But when I try that, it fails, saying I need a passwrd. How can I find out
> what password got set by the installer?
> 

try this:

http://www.ubuntugeek.com/reset-the-root-password-on-mysql.html




-- 
Steve Reilly

http://reillyblog.com








More information about the ubuntu-users mailing list