Cant access phpmyadmin with LNMP setup

I installed phpmyadmin in “/home/wwwroot/pma” and wordpress under
“/home/wwwroot”
but when I try to login to phpmyadmin, after i entered the password and
username, it redirected me to my home page(which is served from
wordpress)
here is the screenshot of login similar to mine (except mine is in
english) : http://bbs.vpser.net/attachment.php?aid=826&noupdate=yes
below is the rewrite rule for wordpress:

location / {
if (-f $request_filename/index.html){
rewrite (.) $1/index.html break;
}
if (-f $request_filename/index.php){
rewrite (.
) $1/index.php;
}
if (!-f $request_filename){
rewrite (.*) /index.php;
}
}

can anyone help me and see what is wrong, really need phpmyadmin to
manage the database. thank you

Posted at Nginx Forum:

if i change the rewrite rule to the following, phpmyadmin will works
fine, but then some of my wordpress url will stop working.
location / {
# This is cool because no php is touched for static
content
try_files $uri $uri/ /index.php;
}

Posted at Nginx Forum: