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

Bug 82366

Summary: mysql_install_db wrong instruction
Product: Gentoo Linux Reporter: Juan Diego GutiƩrrez Gallardo <andy>
Component: New packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Juan Diego GutiƩrrez Gallardo 2005-02-17 08:30:13 UTC
When you first star MySQL Server, it shows the message:

You don't appear to have the mysql database installed yet.
Please run /usr/bin/mysql_install_db to have this dont...

If you run that command, it says:

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/etc/init.d/mysql start (you have to start the server first!)
/usr/bin/mysqladmin -u root -h host password 'new-password'
/usr/bin/mysqladmin -u root password 'new-password'
See the manual for more instructions.

The last command:

/usr/bin/mysqladmin -u root password 'new-password'

doesn't work. It shows the message:

/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-17 09:04:56 UTC
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future. Infrastructure is not the correct addressee.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-02-17 09:07:56 UTC

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