Apache Web-Serving With Mac OS X, Part 5
Subject:   didn't work for me...
Date:   2002-12-23 16:38:00
From:   csteinfield
Response to: password problem - just do the following...

I had the same problem, and was not sure if a password ever got set. I don't think so because it lets me enter the MySQL monitor without typing a password. I have tried typing:

/usr/local/bin/mysqladmin -u root password newpassword

and I get the following:
./bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'

An earlier post said that this command needed to be preceded with a sudo, so I tried the following:

su /usr/local/bin/mysqladmin -u root password newpassword

and then when prompted enter my normal login password (I am the admin user).

I then get the following error:

su: Sorry

Any idea what is going on? Thanks.

1 to 2 of 2
  1. didn't work for me...
    2004-10-16 23:26:47 [View]

  2. didn't work for me...
    2003-07-22 18:18:30  anonymous2 [View]

    • didn't work for me...
      2003-08-03 03:30:06  anonymous2 [View]

      • This should work...
        2003-10-04 21:19:26  anonymous2 [View]

1 to 2 of 2