7

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?

9

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");
            }
| improve this answer | |
  • 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

| improve this answer | |
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.

| improve this answer | |
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

| improve this answer | |
  • Hi I am working on Magento 2.2.2 and have the same issue I have tried the suggestion in this post and the link but still issue is there please can anyone offer any help i need this to update store asap – jt9489 May 13 at 12:21
  • password and login is correct and working - checked please can anyone post here 2 files magmi/conf magmi.ini and magmi/inc magmi_engine.php So I can compare sytax when entering the password and database details Please change the actual pass and details before posting. – jt9489 May 14 at 13:36

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