Here is a Quick fix to resolve PHPMyAdmin login redirect issue

  1. Login to server via terminal using SSH
  2. Open PHPMyAdmin Config file “sudo nano /etc/phpmyadmin/config.inc.php”
  3. Add this code near configure option $cfg[‘PmaAbsoluteUri’] = $_SERVER[HTTP_HOST].dirname($_SERVER[SCRIPT_NAME]);
  4. Done

Hope this tip help you