The problem looks like it is with the command you issued. The correct
mysqladmin -uroot -p shutdown
then supply root password.
Without giving the -uroot argument, it doesn't know that you are trying
to log in as the root user, which is why it is telling you that access
is denied for ODBC@localhost, rather than root@localhost.
On Sat, 2008-10-04 at 13:56 +0530, Varuna Seneviratna wrote:
> I am using WinXP.I am wanted to shutdown MySQL service from the command line
> and ran the command "mysqladmin" -p root shutdown next the root password was
> asked for,I entered the correct password, when I entered the password the
> below displayed error was the result
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'ODBC'@'localhost' (using password: YES)'
> How can I correct this?
> Is this because of a firewall preventing access to port 3306?If a firewall
> is preventing access how was it able to ask for the password?
> I have Nortan Internet Security trial version running and the windows
> firewall is disabled.If this is caused by a firewall barrier please tell me
> how to open the port in Nortan Internet Security.