I have installed fresh mysqlMySQL server on centOSCentOS, and started the mysqlMySQL server service with command.
 # /sbin/service mysqld start
I checked the service and it is running OK.
 Currently I am logged in as root at localhostroot@localhost. I want to changed the password for rootroot. For itthis I have issued the command:
/usr/bin/mysql_secure_installation
Once I issued this command, system is asked for password, I tried to just hit "enter". This does not work. Also, tried my linux boxLinux root password that also does not work.
whenWhen I tried to hit enter I am getting:
Error: Access denied for user 'root'@'localhost' (using password : NO)
whenWhen I tried with linuxLinux box local root password I am getting:
Error: Access denied for user 'root'@'localhost' (using password : YES)
 Other than localbox rootlocal machine root password, it did not ask me for any password during installation time. What I am missing here? What should I do to login from the mysql-workbench?
Thanks Thanks.
 
                