Whenever I try to install mysql 5.0.77 on CentOS 5.5, the installation goes fine. So the whenever I try:
mysql -u root -p Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
(Password is blank)
On investigating further I found that user table of mysql db is empty. Does anyone knows the solution to this problem.