missing mysql extension in MAMP


Staff member
I'm just shifting from wamp to mamp on windows.

Through mamp every thing is working perfectly (WordPress or PHP Projects).

1) In cmd when I work with wp-cli.phar file, it's give me the following error

your php installation appears to be missing the mysql extension which is required by wordpress

I check the php.ini files, extension path is perfect, php_mysql.dll isn't here. then I change PHP version 5.6.13 here I have php_mysql.dll extension but problem is same.

2) Also set the environment variable

When I check PHP Variable Path with phpinfo(); <a href=" " rel="nofollow"> path are </a>

Why it show wamp and mamp both path ?

Both problem have relation with each other ?