Created
June 29, 2015 15:30
-
-
Save yratof/c3295a5bbf68641884c6 to your computer and use it in GitHub Desktop.
MySQL Fix for MAMP PRO when using WP CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/local/bin/mysql; | |
sudo ln -s /Applications/MAMP/Library/bin/mysqlcheck /usr/local/bin/mysqlcheck; | |
sudo ln -s /Applications/MAMP/Library/bin/mysqldump /usr/local/bin/mysqldump |
Try using this as the database host: localhost:/tmp/mysql.sock
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Didn't worked for me.
WP-CLI 1.4.1 and MAMP 4.1.1. Mac Os High Sierra