Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 73930

Summary: mysqladmin instructions for mysql install are wrong
Product: Gentoo Linux Reporter: Eric Brown <eric.brown>
Component: New packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mysql_install_db

Description Eric Brown 2004-12-09 11:45:51 UTC
it says start mysqld, then run
mysqladmin -u root -h blah password "blah"
mysqladmin -u root password "blah"

but actually you need the second line to use -p since you set a password in the first line.
mysqladmin -u root -p password "blah"

that will fix the problems most users have.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Eric Brown 2004-12-11 11:38:19 UTC
Created attachment 45753 [details]
mysql_install_db

I made the minor change myself, it now has -p on the second mysqladmin line.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-12-23 02:14:34 UTC

*** This bug has been marked as a duplicate of 71432 ***