{"action":"created","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1223","repository_url":"https://api.github.com/repos/wp-cli/wp-cli","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1223/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1223/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1223/events","html_url":"https://github.com/wp-cli/wp-cli/issues/1223","id":34275081,"number":1223,"title":"sh: mysql: command not found on wp core config","user":{"login":"alessandrotesoro","id":1590958,"avatar_url":"https://avatars.githubusercontent.com/u/1590958?v=3","gravatar_id":"","url":"https://api.github.com/users/alessandrotesoro","html_url":"https://github.com/alessandrotesoro","followers_url":"https://api.github.com/users/alessandrotesoro/followers","following_url":"https://api.github.com/users/alessandrotesoro/following{/other_user}","gists_url":"https://api.github.com/users/alessandrotesoro/gists{/gist_id}","starred_url":"https://api.github.com/users/alessandrotesoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alessandrotesoro/subscriptions","organizations_url":"https://api.github.com/users/alessandrotesoro/orgs","repos_url":"https://api.github.com/users/alessandrotesoro/repos","events_url":"https://api.github.com/users/alessandrotesoro/events{/privacy}","received_events_url":"https://api.github.com/users/alessandrotesoro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2014-05-25T23:16:37Z","updated_at":"2016-10-04T22:25:28Z","closed_at":"2014-05-26T11:00:23Z","body":"I've installed wp cli following the guidelines here http://wp-cli.org/ since i'm running MAMP on my mac, i've created a .bash_profile file into my user directory like explained here http://stackoverflow.com/questions/4145667/how-to-override-the-path-of-php-to-use-the-mamp-path/10653443#10653443\r\n\r\nMy .bash_profile file looks like this\r\n\r\n```\r\nexport MAMP_PHP=/Applications/MAMP/bin/php/php5.5.10/bin\r\nexport PATH=\"$MAMP_PHP:$PATH\"\r\n```\r\n\r\nIf i run wp --info \r\n\r\ni get this \r\n```\r\nPHP binary:\t/Applications/MAMP/bin/php/php5.5.10/bin/php\r\nPHP version:\t5.5.10\r\nphp.ini used:\t/Applications/MAMP/bin/php/php5.5.10/conf/php.ini\r\nWP-CLI root dir:\tphar://wp-cli.phar\r\nWP-CLI global config:\t\r\nWP-CLI project config:\t\r\nWP-CLI version:\t0.15.1\r\n```\r\n\r\nI have then ran the following into the folder i created for my wp installation\r\n\r\n```\r\nwp core download\r\n```\r\n\r\nI have then ran the following to setup the wp-config file\r\n\r\n```\r\nwp core config --dbname=db --dbuser=root\r\n```\r\n\r\nAnd there's the error \r\n\r\nsh: mysql: command not found\r\n\r\nWhat am i doing wrong? I've checked existing topics here on github but i can't find a proper solution to my situation."},"comment":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/comments/251531676","html_url":"https://github.com/wp-cli/wp-cli/issues/1223#issuecomment-251531676","issue_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1223","id":251531676,"user":{"login":"erfanv","id":5617816,"avatar_url":"https://avatars.githubusercontent.com/u/5617816?v=3","gravatar_id":"","url":"https://api.github.com/users/erfanv","html_url":"https://github.com/erfanv","followers_url":"https://api.github.com/users/erfanv/followers","following_url":"https://api.github.com/users/erfanv/following{/other_user}","gists_url":"https://api.github.com/users/erfanv/gists{/gist_id}","starred_url":"https://api.github.com/users/erfanv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erfanv/subscriptions","organizations_url":"https://api.github.com/users/erfanv/orgs","repos_url":"https://api.github.com/users/erfanv/repos","events_url":"https://api.github.com/users/erfanv/events{/privacy}","received_events_url":"https://api.github.com/users/erfanv/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T22:25:28Z","updated_at":"2016-10-04T22:25:28Z","body":"I'm an amateur here - bash profile? Does someone mind explaining how this is done? Thanks in advance!"}}
{"actor":{"display_login":"erfanv"}}