I want modify localhost and replace with unix domain sockets
define('DB_HOST', 'localhost:/mypath/mysql.sock');
What is the correct command via wp-cli?
Example here:
wp core config --dbname=database_name --dbuser=database_user --dbpass=database_password --maybehostsocket=/mypath/mysql.socket ?
Or --dbhost=unix://tmp/mysql.sock is this possible?
Thanks and
best regards