Roger,
Tuesday, September 17, 2002, 11:57:36 AM, you wrote:

RS> i have downloaded a mysql 3.23.52 server and client linux rpm package.
RS> i installed them on rh7.2

RS> everything is ok.

RS> and the mysqld daemon has also been started.

RS> but when i try to change the root password using the folloing command:

RS> /usr/bin/mysqladmin -u root password 'new-password'

RS> there is an error :

RS> ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)


RS> i can't also using root account to login mysql

RS> mysql -uroot
RS> ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)

RS> when i login like "mysql "

RS> i can login,but i just can use test database, 

RS> what had happended?  how can i resolve this problem?

Roger, did you have MySQL server installed before? If so, you should
use the old root password. If you don't remember a password you can reset
it according to the following instruction:
      http://www.mysql.com/doc/en/Resetting_permissions.html


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com





---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to