> Our brand new, fresh install of 3.23.46 won't let us set the
> password for the root user because one seems to already be set.
> Even after wiping the ...mysql/data/mysql directory clean and
> rerunning mysql_install_db, we still get an "Enter password:"
> prompt when attempting to set the root user password for the first time.

mysqladmin does not prompt for a password if it needs it, you must give it
the -p option to make it prompt for a password. If it really needed a
password:

$ mysqladmin -u root variables

would show an access denied error, it wouldn't prompt for a password. So
drop the -p option when you try setting the password.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to