Incorrect documentation at Server - Databases page

Carthik Sharma carthik at gmail.com
Mon Jul 10 20:17:51 UTC 2006


Hi,

I followed the guide at:
https://help.ubuntu.com/ubuntu/serverguide/C/databases.html
to install mysql.

THe instruction that says the command:
sudo mysqladmin -u root -h localhost password newrootsqlpassword

should be executed leads to an error message on my Dapper system. The
error message is as follows:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

To fix this, that line needs to be changed to:
sudo mysqladmin -u root -h localhost password newrootsqlpassword -p

and then at the password prompt, one needs to enter the root password
set in the previous line (sudo mysqladmin -u root password
newrootsqlpassword)

I supposed someone might be interested in fixing that, and updating
the documentation.

Thank you,
Carthik.
-- 
Ph.D. Candidate
University of Central Florida
Homepage: http://carthik.net




More information about the ubuntu-doc mailing list