سؤال

Drush sql-sanitize doesn't work on my test install.

drush @pfdevd6mg sql-sanitize --sanitize-password=newpassword
PHP Warning:  Module 'curl' already loaded in Unknown on line 0

The following operations will be done on the target database:
 * Reset passwords and email addresses in users table
 * Truncate Drupal's sessions table

Do you really want to sanitize the current database? (y/n): y
Sanitize query failed.

does alias aren't possible ?

EDIT: Using Drush 8

ERROR 1146 (42S02) at line 1: Table 'provence-formation_pfdevd6mg.users' doesn't exist
Sanitize query failed.
هل كانت مفيدة؟

المحلول

Quote from Moshe Weitzman, main drush developer

Database prefixing is no longer supported by Drush. Its a relic from a prior era.

March, 2017.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى drupal.stackexchange
scroll top