Contributions API

drush_sql.module

Version

1.12 (checked in on 2008/03/30 at 15:13:51 by weitzman)

Description

The drush SQL commands

Functions

Namesort iconDescription
drush_sql_drush_commandImplementation of hook_drush_command().
drush_sql_dumpCommand callback. Outputs the entire Drupal database in SQL format using mysqldump or pg_dump.
drush_sql_get_path
drush_sql_helpImplementation of hook_help().
drush_sql_loadCopy an entire database to another database. For example, migrate from Production to dev or dev to staging.
drush_sql_queryCommand callback. Executes the given SQL query on the Drupal database. Reads from STDIN if no query is provided.
drush_sql_query_execute
drush_sql_urlCommand callback. Displays the Drupal site's database connection string.
drush_sql_version_clientCommand callback. Displays the MySQL or PostgreSQL client version number.
drush_sql_version_serverCommand callback. Displays the MySQL or PostgreSQL server version number.
_drush_sql_get_credentials
_drush_sql_get_database
_drush_sql_get_invalid_url_msg
_drush_sql_get_scheme