6

I have downloaded and extracted the MagMi M2 module from https://github.com/macopedia/magmi-m2 but I have no idea how to install it.

I tried copying it into the vendor dir in several locations, ran ./magento setup, but the module is nowhere to be found in my Magento 2 installation.

So, how do I install that module?

8

There is not install for magmi just Copy magmi in main folder

/magmi

and just the following your url you will be able to access the magmi

http://installmagentourl/magmi/web/magmi.php and use default user: magmi paswd: magmi

You are good to go..

One thing more

go to magmi/inc/magmi_engine.php replace the one 511 line and replace else code and add you credential

else {
                $host = $this->getProp("DATABASE", "host", "localhost");
                $dbname = $this->getProp("DATABASE", "dbname", "magento");
                $user = $this->getProp("DATABASE", "user",'root');
                $pass = $this->getProp("DATABASE", "password",'root');
                $port = $this->getProp("DATABASE", "port", "3306");
            }
  • I get a login (basic http auth) screen, no user/pass combo to be found. I am logged in into my Magento 2 admin backend. – Bart Friederichs Jan 5 '18 at 12:34
  • @BartFriederichs use default login foruser: magmi paswd: magmi – Qaisar Satti Jan 5 '18 at 12:39
  • OK, I can login now, but it gives me just PHP errors (engine not given). I fixed one and I get a lot more now (permission denied, sql connection fail). This really doesn't look like the way to use this. – Bart Friederichs Jan 5 '18 at 12:41
  • 1
    Also, the webserver needs write access to plugins, conf and state. – Bart Friederichs Jan 5 '18 at 12:58
  • 1
    @NagarajuKasa give permission to folder. – Qaisar Satti Dec 20 '18 at 9:03
1

if you do this settings:

else {
                $host = $this->getProp("DATABASE", "host", "localhost");
                $dbname = $this->getProp("DATABASE", "dbname", "magento");
                $user = $this->getProp("DATABASE", "user",'root');
                $pass = $this->getProp("DATABASE", "password",'root');
                $port = $this->getProp("DATABASE", "port", "3306");
            }

then in first prompt you have to give your admin username/password instead of magmi/magmi

1

The correct way of setting MAGMI is to create the following file:

magmi/conf/magmi.ini

just copy/rename the magmi/conf/magmi.ini.default file where you can get the basic settings

Then open http://installmagentourl/magmi/web/magmi.php and use your Magento admin account to authenticate and start setting profiles and importing products etc.

0

You need to add database name, database username and password, as well as set the permission for the database user to use that database

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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