>>>>> "mhearn" == mhearn <[EMAIL PROTECTED]> writes:
>> Description:
mhearn> I have installed the binary (not rpm) MySQL 3.22.14 on a Red Hat 5.1 486 .It
appears to be running - there are three process running when I run 'ps'.
mhearn> However, when I try to run mysqladmin, I get:
mhearn> ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)
This should means that you have alread set a password for root.
mhearn> I have tried setting the password using:
mhearn> mysqladmin -u root password xxx
mhearn> where xxx is my new password, but get the same error.
This is probably because of the same reason as above.
In this case you should take down mysqld with 'kill' and restart
mysqld with:
safe_mysqld -Sg
After this you can access the MySQL privilege tables with the script
mysqlaccess to check what's wrong; You can also then change your
password with 'mysqlaccess -u root password xxx'
mhearn> I initially installed from the rpm's, safe_mysqld would
terminate immediately after starting, so I uninstalled the and
re-installed from the binary.
There was a small problem with the mysql_install_db script in the RPM,
but the mysqld binary in it should work without problems as long as
you start this directly ..
Regards,
Monty
-----------------------------------------------------------
Send a mail to [EMAIL PROTECTED] with
unsubscribe mysql [EMAIL PROTECTED]
in the body of the message to unsubscribe from this list.