Have you gone through all of the troubleshooting options outlined here:

http://dev.mysql.com/doc/mysql/en/Access_denied.html

There are many links on that page to various other corrective actions you 
can take in order to restore your access.

Shawn Green
Database Administrator
Unimin Corporation - Spruce Pine

"Kamal Ahmed" <[EMAIL PROTECTED]> wrote on 10/13/2004 11:05:01 AM:

> Hi,
> 
> This is the only place where I can ask these questions, and would
> greatly appreciate if anyone can give me some clue on how to resolve
> these issues.
> 
> I have MySql running on Redhat 9, and I am trying to create a New
> Database.
> 
> When I issue the command:
> mysqladmin -u root ver
> 
> Result:
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)'
> 
> Command:
> [EMAIL PROTECTED] home]# mysqladmin -u root flush-privileges password
> "abcdef"
> 
> Result:
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)'
> 
> Q1. How can I change the password for root ?
> Q2. How do I know if root IS the admin for MySql ?
> Q3. How can I add a Database ?
> Q4. How can I add a New User to a New Database ?
> 
> 
> Thanks in Advance,
> 
> -Kamal.
> 
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]
> 

Reply via email to