use the command below

mysqladmin -u root -p  <options>

supply the passwd when prompted

Anil
DBA

-----Original Message-----
From: Kamal Ahmed [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 13, 2004 8:35 PM
To: Kamal Ahmed; [EMAIL PROTECTED]
Subject: MySql Configuraton on Redhat


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]


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to