Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 5

drush_sql.module

Version

1.8 (checked in on 2007/12/12 at 16:32:57 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. We allow specifying of source instead of assuming since drush might be installed only on certain sites. Do 'sql load TRUE' if you to skip the standard disposable tables. conf_path() uses a static...
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