We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fac747f + 29e4546 commit c921f04Copy full SHA for c921f04
src/Context/FeatureContext.php
@@ -626,6 +626,10 @@ public function __construct() {
626
$this->variables['MYSQL_HOST'] = getenv( 'MYSQL_HOST' );
627
}
628
629
+ if ( getenv( 'WP_CLI_TEST_DBSOCKET' ) ) {
630
+ $this->variables['DB_SOCKET'] = getenv( 'WP_CLI_TEST_DBSOCKET' );
631
+ }
632
+
633
self::$db_settings['dbname'] = $this->variables['DB_NAME'];
634
self::$db_settings['dbuser'] = $this->variables['DB_USER'];
635
self::$db_settings['dbpass'] = $this->variables['DB_PASSWORD'];
utils/mapped_socket_folder/README.md
0 commit comments