Open Site Shell does not use local mysql sock

I’ve been using TCP/IP for quite some time and it seems to work with WP-CLI.

// ** Database settings ** //

/** The name of the database for WordPress */
define('DB_NAME', 'local');

/** Database username */
define('DB_USER', 'root');

/** Database password */
define('DB_PASSWORD', 'root');

/** Database hostname */
define('DB_HOST', 'localhost');
1 Like