{"action":"opened","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2662","repository_url":"https://api.github.com/repos/wp-cli/wp-cli","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2662/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2662/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2662/events","html_url":"https://github.com/wp-cli/wp-cli/issues/2662","id":148833755,"number":2662,"title":"wp-db.php no file found","user":{"login":"dsgnr","id":10280499,"avatar_url":"https://avatars.githubusercontent.com/u/10280499?v=3","gravatar_id":"","url":"https://api.github.com/users/dsgnr","html_url":"https://github.com/dsgnr","followers_url":"https://api.github.com/users/dsgnr/followers","following_url":"https://api.github.com/users/dsgnr/following{/other_user}","gists_url":"https://api.github.com/users/dsgnr/gists{/gist_id}","starred_url":"https://api.github.com/users/dsgnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsgnr/subscriptions","organizations_url":"https://api.github.com/users/dsgnr/orgs","repos_url":"https://api.github.com/users/dsgnr/repos","events_url":"https://api.github.com/users/dsgnr/events{/privacy}","received_events_url":"https://api.github.com/users/dsgnr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-16T08:47:56Z","updated_at":"2016-04-16T08:47:56Z","closed_at":null,"body":"Hi everyone, I have just updated to Wordpress 4.5 and I am using iTerm Build 2.9.20160313 with CP-CLI. I am having issues finding a database connection.\r\n\r\nI understand there was an issue initially with WP 4.5 and the way they were changing how wp-cli worked but this is a new error message. Here is what I am getting when trying to do a normal wp core update:\r\n\r\nWarning: mysqli_real_connect(): (HY000/2002): No such file or directory in /Users/usr/Business/Development/site/core/wp-includes/wp-db.php on line 1489\r\nWarning: mysql_connect(): No such file or directory in /Users/usr/Business/Development/site/core/wp-includes/wp-db.php on line 1515\r\nError: Error establishing a database connection\r\n\r\nIs there anything I can do to get this working?\r\n\r\nI am using Mamp Pro using PHP7 if this helps.\r\n\r\nThank you in advance"}}