Hello,
On MacOs Catalina with Local 5.6.3+4270, inside the public folder, running wp-cli returns the following error:
% wp option get siteurl
Error: Error establishing a database connection.
I found no errors in Local’s logs.
Viewing the database in the browser with Adminer works.
Accessing to the database with Sequel Pro with the following parameters fails:
- username, pwd, database & socket : exactly as they appear in Local’s database tab
With Sequel Pro, the Test connection returns “connection succeeded”. However, after connecting to the db, a popup appears stating that SequelPro encountered an unexpected error error into the db.
I have reviewed most articles in the forum about WP-Cli problems with Local but found no clear solution.
Any help on that matter ?
Thanks !