Wp acorn mysql error

Hi Guys,

I’ve installed Tribe Events on my Sage site, im trying to add some template overrides using this: https://github.com/supermundano/sage-the-events-calendar

When I run the Acorn commands to publish to override I get a few errors:

PHP Warning:  mysqli_real_connect(): (HY000/2002): No such file or directory in /Users/me/Local Sites/mysite/app/public/wp-includes/class-wpdb.php on line 2035
Warning: mysqli_real_connect(): (HY000/2002): No such file or directory in /Users/me/Local Sites/mysite/app/public/wp-includes/class-wpdb.php on line 2035
Error: `No such file or directory`
Error establishing a database connection

& infacr when I run any wp acorn command I get the same errors, I have tried updating acorn & sage but I get various errors doing both, When I update Acorn I get a bootloader error that doesnt seem to go away when I fix as suggested.

Any advice?

Currently running Sage10 - 5.8.7 - which I appreciate is probably outdated!

This would be related to your dev environment.

If you’re using something like Local, make sure you are using WP-CLI inside of their shell or whatever.

Brandon, amazing - I was running it on my theme and not in their shell.

Thank you so much and apologies for the stupid question