Drush проблема с установкой сайта

Главные вкладки

Аватар пользователя runner12 runner12 25 января 2013 в 11:11

Установил Drush, Друпал загружается нормально, но при попытке установить сайт выдает следующее command terminated abnormally due to an unrecoverable error. Помогите разобраться, в чем проблема.

Комментарии

Аватар пользователя runner12 runner12 25 января 2013 в 12:49
"mysql" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
Starting Drupal installation. This takes a few seconds ...

WD php: Exception: To start over, you must empty your existing

database.To install to a different database, edit the appropriate
settings.php file in the sites folder.To upgrade an existing
installation, proceed to the update script.View your existing site
in install_verify_completed_task() (line 807 of
C:\WebServers\home\localhost\www\test\includes\install.core.inc).
WD php: Warning: Cannot modify header information - headers alread

sent by (output started at
C:\ProgramData\Drush\includes\output.inc:37) in drupal_send_header
(line 1239 of
C:\WebServers\home\localhost\www\test\includes\bootstrap.inc).
Exception: <ul><li>To start over, you must empty your existing dat
>To install to a different database, edit the appropriate <em>sett
file in the <em>sites</em> folder.</li><li>To upgrade an existing
proceed to the <a href="http://localhostC:\ProgramData\Drush/updat
script</a>.</li><li>View your <a href="
http://localhostC:\ProgramD
sting site</a>.</li></ul> in install_verify_completed_task() (line
Servers\home\localhost\www\test\includes\install.core.inc).
Drush command terminated abnormally due to an unrecoverable error.

Что-то такое

Аватар пользователя multpix multpix 25 января 2013 в 15:10

ты не читаешь и не вникаешь в вывод а также абсолютно не понимаешь смысл тех команд которые даешь на исполнение.

для снятия чехла и исключая двойственные и неоднозначные трактовки:
drush help si

пошаговый ман:
база создана(пустая), пользователю с паролем даны на нее все права.
cd кореньсайта
drush dl drupal
mv drupal-7.19/* . && mv drupal-7.19/.htaccess .
drush si --db-url=mysql://пользовательбазы:пароль@Localhost/имябазы --account-mail=мылоадмина

внимательно читать вывод, в нем авторизация админа