I\'m setting up phpMyAdmin with nginx. I can visit phpMyAdmin at http://localhost/phpmyadmin. However, when I logged in, the URL is redirected to http://localhost/sql.php instea
After google for some time, just open config.inc.php and add:
$cfg['PmaAbsoluteUri'] = 'your based uri';
and everything works perfectly!