I've installed smeserver-phpmyadmin following
http://wiki.contribs.org/PHPMyAdmin on my SME 9.0 server. Installation went without issues, I did signal-event post-upgrade and signal-event reboot, and now I don't seem to be able to log in. I have not changed any of the default settings.
When I browse to myserver/phpmyadmin, I first get a popup HTTP authentication window asking for a username and password. I enter admin and the server's admin password. I'm then taken to the phpMyAdmin login page, where it again asks for a username and password. I again enter admin and the server admin password, and click Go. The screen refreshes with a red box near the top saying "#1045 Cannot log in to the MySQL server." There are no entries in /var/log/messages or /var/log/mysqld/current that seem related.
"config show phpmyadmin" shows a property of DbPassword with a lengthy, random value. /root/.my.cnf has a lengthy random password as well, but it doesn't match the one shown for DbPassword. When I do "mysql -u root -p" and enter the first password, it doesn't work; when I enter the password in /root/.my.cnf it does (as expected). I suspect this is the source of the problem.
The simple answer, I think, is to do "config setprop phpmyadmin DbPassword <password from /root/.my.cnf>". Is there a reason I shouldn't do this?