Issue: SQL Server implementation of _drush_sql_get_credentials is using "server' instead of "host" so Drush does not find SQL Server

Workaround: Using SQL Server configuration tool, create and Alias of ".\SQLEXPRESS" to "localhost:

Fix: In Drush\commands\sql\sql.drush.inc Line ~864

Replace

      $host = empty($db_spec['server']) ? '.\SQLEXPRESS' : $db_spec['server'];

with

      $host = empty($db_spec['host']) ? '.\SQLEXPRESS' : $db_spec['host'];

Comments

moshe weitzman’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.