On 4/27/09, Jason Todd Slack-Moehrle <mailingli...@mailnewsrss.com> wrote:

> Hi All,
>
> CentOS 5.3
>
> I installed MySQL Server via yum and started it.
>
> I tried entering:
>
> mysqladmin -u root password yourrootsqlpassword
> mysqladmin -h server1.example.com -u root password yourrootsqlpassword
>
> But I get:
>
> r...@server1 ~]# /usr/bin/mysqladmin -u root -h localhost password
> mypassword
> /usr/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password: NO)'
>
> How can I reset this and allow Root access, otherwise nobody has access!
>
> Thanks,
>
> -Jason


You need a -p before the password in your command line.

David

Reply via email to