drush sql-connectfor drush 7x


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


    Import sql statements from a file into the current database.

    `drush sql-connect` < example.sql

  • Comments


    comments powered by Disqus