Thanks to prosti for pointing me in the right direction…
run the following in a terminal:
sudo chown -R whoami
:admin /usr/local/bin
Related Posts:
- Fastest way (least amount of steps) to locally import a remote database using WP-CLI
- Export WP database for import using WP-CLI on Vagrant Box
- Does thumbnail regeneration edit the database?
- Automate dir and DB stack creation with WP-CLI
- wp search-replace (not executing)
- wp-cli search is returning ‘search’ is not a registered subcommand of ‘db’
- Duplicated site isn’t recognized as a site
- Automate WordPress website setup with prefilled data
- wp-cli: Error establishing a database connection: undefined constant DB_USER
- wp-cli + valet: “Error establishing a database connection”
- WPCLI search and replace in a particlar site dir effect another site-dir
- Weird WP -Cli Error Connection Refused
- Exclude Statement in SQL
- Is it fine to have foreign key as primary key?
- Custom form that store input in database
- Restoring WordPress posts from database only
- Can a post ID be 0?
- Issue with wp_insert_post and post_content field error Could not update post in the database
- wp_posts – guid update
- what is the wp_5_posts table in the database?
- Migrating data between local and development server
- WordPress Database Charset/Collate
- What is the database table for pages?
- Using Dynamic Data Pulled from a MySQL Table in a WordPress Page
- Migrating non-WordPress CMS to WordPress, lots of data to move — possible solutions?
- storing database in version control
- Is deleting orphaned wp_options entries safe?
- How to build a movie database with wordpress?
- Is database safe after merging a branch of a more recent version over an older one?
- Sub-domain or 2nd, temporary different domain?
- Hook to be used when creating a database table
- Delete all post meta except featured image
- Where is custom template file chosen for a post stored in the DB?
- How do i get user data from a custom table in the wordpress database by user ID?
- Converting WordPress into Android or iPhone app
- Safe way to find last inserted id in a table?
- Delete duplicate rows from wordpress database where a column is duplicate in phpmyadmin
- WordPress DATABASE Update Manually?
- I don’t see site_url and home_url fields in wp_options table (phpMyAdmin)?
- Multiple postmeta with same name for one post in wp_postmeta table
- Which is more efficient? Using usermeta, or creating a new MySQL table?
- Can I have multiple database users within WordPress?
- A field with dashes in the slug [closed]
- Creating a Video Content Page (how to use query strings in wordpress)- Help!
- Structure of postmeta meta_value for woocommerce product download
- Handling large N data in WordPress
- How to replicate a user plugin made table value, to this user’s custom meta table value?
- Catalina an MAMP Database Conenction Error
- WordPress ‘repairing database’ in a constant error loop?
- Super slow queries from author archive pages killing my database
- localize elements in database
- WordPress running SQL query to update database from form
- How to fix database error duplicate entry
- WPDB SQL query with prepare() returning variable, not db value
- Get value form wordpress database
- Moving to another server database connection error [closed]
- Why this query is not showing any result on wordpresss home page?
- Best practice to limit results in get_row()?
- How to display content from external db with relevant urls
- Is there an easy way of exporting posts with their category already asigned and pictures from localhost?
- Connect to another WP install and grab post based on custom field
- Which table (and column) has the content of configured get_post_meta?
- Serialize data before inserting into the DB
- Adding prefix to WordPress database tables breaks admin capabilities?
- What is the best way to resurrect and update my old WordPress site?
- Pages from custom table
- content disappearing minutes after it’s published
- What is the most efficient way to reset a WordPress site?
- Add pdf to a website
- Optimizing function that automatically creates internal links based on post title string
- WordPress where clauses in db select
- How to display data from db in select list [closed]
- Will adding & modifying default WordPress table index break future WordPress update
- echo site_url() returns a different value than what is in the database siteurl field
- Can two domains use the same database?
- Native timestamp on wp_options option
- _wp_attachment_metadata is not being added to database when PDF files uploaded
- SELECT rows between two datetimes when the range is dynamic [closed]
- adding user_id and name to a separate table whenever a user register based on role
- How do I loop/iterate through posts to edit all img tags?
- error establishing a database connection 3
- How to edit posts/pages without making the change live?
- Correct and secure way to access a custom SQL database in a custom PHP template file
- How to optimise this database query?
- How to retrieve user data based on role using SQL?
- Adding featured for post using database
- Does WordPress Support Using Named Pipes on the Windows Operating System?
- Store id from database query in cookie
- Split database on large site?
- Store the wordpress “featured image” under »wp_posts« Database table
- Custom metabox does not store data
- Return image urls with specific base string?
- What WordPress file is saving new users to database
- wordpress database error
- How do i get value from wp_postmeta?
- Local host to server import problem
- featured image not showing up with mysql_connect
- Options of accessing wordpress data from mobile app
- Cant Connect to Database
- WordPress database connection failed, while mysql client is working [closed]