wp-db.php no file found
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.
I 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:
Warning: 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
Warning: mysql_connect(): No such file or directory in /Users/usr/Business/Development/site/core/wp-includes/wp-db.php on line 1515
Error: Error establishing a database connection
Is there anything I can do to get this working?
I am using Mamp Pro using PHP7 if this helps.
Thank you in advance