function drush_sql_connect

8.0.x sql.drush.inc drush_sql_connect()
6.x sql.drush.inc drush_sql_connect()
7.x sql.drush.inc drush_sql_connect()
3.x sql.drush.inc drush_sql_connect()
4.x sql.drush.inc drush_sql_connect()
5.x sql.drush.inc drush_sql_connect()
master sql.drush.inc drush_sql_connect()

Command callback. Emits a connect string.

File

commands/sql/sql.drush.inc, line 232
Drush sql commands

Code

function drush_sql_connect() {
  drush_sql_bootstrap_further();
  $sql = drush_sql_get_class();
  return $sql->connect(FALSE);
}