Most newbees/people don't adjust their SME/E-Smith password so the chance that you can find it in /root/.my.cnf is big
Enter this password in the config.inc.php(3) file from PhpMyAdmin so you can enter as root with password found in that file.
GL
Harro