Closed (fixed)
Project:
Drush
Component:
SQL
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2012 at 01:54 UTC
Updated:
8 Jun 2012 at 14:21 UTC
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
Comment #1
moshe weitzman commented