ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) (2 replies)
Hi,
Installed MySQL a lot of times. The previous installs were successful until now:
[root@call mysql-community]# rpm -Uvh MySQL* --nodeps
warning: MySQL-bench-5.0.67-0.glibc23.x86_64.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
1:MySQL-shared-compat ########################################### [ 17%]
2:MySQL-bench ########################################### [ 33%]
3:MySQL-client ########################################### [ 50%]
4:MySQL-devel ########################################### [ 67%]
5:MySQL-server ########################################### [ 83%]
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h call.callboxinc.com password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting MySQL.[ OK ]
Thank you for installing the MySQL Community Server! For Production
systems, we recommend MySQL Enterprise, which contains enterprise-ready
software, intelligent advisory services, and full production support with
scheduled service packs and more. Visit www.mysql.com/enterprise for more
information.
6:MySQL-shared ########################################### [100%]
----> now when I try to run mysql
[root@call mysql-community]# mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
How Come?
Please Help.

Post Comment