472,119 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

can't login as root

I just installed Red Hat Enterprise 5, along with MySQL. I have run mysql_install_db and I can see the mysql folder that contains the 'mysql' database with the users. Unfortunately, I can't login as root. I have tried without specifying a password, and also with a blank password. And I have tried the SAME using mysqladmin

I can login as any generic user without a password, but this of course won't allow be see the mysql table and have the rights that root has.

[root@romulus ~]# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

[root@romulus ~]# mysql -u root -p
Password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

What else can I do to login as root?
Feb 28 '08 #1
1 1862
nomad
664 Expert 512MB
I just installed Red Hat Enterprise 5, along with MySQL. I have run mysql_install_db and I can see the mysql folder that contains the 'mysql' database with the users. Unfortunately, I can't login as root. I have tried without specifying a password, and also with a blank password. And I have tried the SAME using mysqladmin

I can login as any generic user without a password, but this of course won't allow be see the mysql table and have the rights that root has.

[root@romulus ~]# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

[root@romulus ~]# mysql -u root -p
Password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

What else can I do to login as root?
Question do you have MySQL running?


nomad
Feb 28 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by John | last post: by
reply views Thread by kevincw01 | last post: by
2 posts views Thread by Beginner | last post: by
1 post views Thread by frolda | last post: by
4 posts views Thread by Ben | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.