Hello,
When the installation of a MySQL Server completes there is a ROOT user account only. By default the ROOT user doesn't have any password set. To login from unix shell (use -h only if needed):
Code:
#mysql -h hostname -u root
You can set password for a root account:
Code:
mysqladmin -u root password your-new-password
To login:
Code:
#mysql -h hostname -u root -p