drush sql-connect

A string for connecting to the DB.

Drush Command

drush sql-connect

Arguments

Aliases

Options

--database : [object Object]
--target : [object Object]
--db-url : [object Object]
--extra : [object Object]

Examples

Bash: Import SQL statements from a file into the current database.

</span>drush sql-connect<span class="sb"> < example.sql
Fish: Import SQL statements from a file into the current database.
eval (drush sql-connect) < example.sql