drush sql-connectfor drush 8x
A string for connecting to the DB.
drush sql-connect
-
Options
sql-connect accepts 4 option/s:
--database
--database : database
--target
--target : target
--db-url
--db-url : db-url
--extra
--extra : extra
-
Examples
Bash: Import SQL statements from a file into the current database.
`drush sql-connect` < example.sql
Fish: Import SQL statements from a file into the current database.
eval (drush sql-connect) < example.sql
-
Comments
comments powered by Disqus