ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

2007-05-09 Thread Thibaud Hulin

Hi,
I installed mysql 4.1.22 for Debian testing.
I launched the manual installation.
However, when I do :
mysql -u root

I get :
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using 
password: NO)


I tried to reinstall it, but it fails.

Thanks for help,
Thibaud.


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



Re: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

2007-05-09 Thread Cassj
Thibaud...

If you have already set your MySQL root password, then you need to login to 
mysql like this:
 mysql -u root -p
You should be prompted for the mysql root password.

If you haven't set your mysql root password, then you need to do this:
 mysqladmin -u root password 'new-password'
You may have to give the complete path to mysqladmin.

CheersCassj



-Original Message-
From: Thibaud Hulin [EMAIL PROTECTED]
Sent: May 9, 2007 4:13 PM
To: mysql@lists.mysql.com
Subject: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using 
password: NO)

Hi,
I installed mysql 4.1.22 for Debian testing.
I launched the manual installation.
However, when I do :
mysql -u root

I get :
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using 
password: NO)

I tried to reinstall it, but it fails.

Thanks for help,
Thibaud.


-- 
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]