How can i login magmi, am copy of the magmi folder into magento root folder, then go to http://www.------.com/magmi/web/magmi.php, they ask username and password

enter image description here

  • 1
    That's good, somebody added password protection with .htaccess. Otherwise your site would be an easy target for hackers, never leave magmi accessible from outside! Solution: ask for the password and enter it – Fabian Schmengler Jun 22 '16 at 8:03
  • I still believe the magmi web panel shouldn't be deployed at all, but we only use the data pump API – Robbie Averill Jun 22 '16 at 19:20

The more recent version of Magmi uses the Magento admin authorization system to protect the Magmi admin panel.

Log in with your Magento admin username and password.

See the Magmi code:

public function authenticate(){
    if (!$this->_hasDB) return ($this->user == 'magmi' && $this->pass == 'magmi');
    $result = $this->select("SELECT * FROM $tn WHERE username = ?",array($this->user))->fetch(PDO::FETCH_ASSOC);
    return $this->validatePass($result['password'],$this->pass);
  • Actually am tried with my magento user name and password, but its not working, – Gem Jun 22 '16 at 4:26
  • which file i need to edit – Gem Jun 22 '16 at 4:29
  • 4
    could you help me to solve this – Gem Jun 22 '16 at 8:44
  • Didn't work me either. I tried username magmi and password magmi as in the code and that worked. – Akif Jul 9 '18 at 18:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.