Drush ile Drupal Kurulumunda Database Sorunu

Başlatan ulubuntu, 07 Haziran 2013 - 17:38:54

« önceki - sonraki »

0 Üyeler ve 3 Ziyaretçi konuyu incelemekte.

ulubuntu

Merhaba,
Drush ile Drupal kurulumunda database sorunu yaşıyorum,bu konuda yardımcı olabilir misiniz?Teşekkürler.
fly66@ulubuntu1304:/var/www/drupal-7.22$ drush si --db-url=mysql://root:root@127.0.0.1:3306/drush --account-pass=admin
You are about to CREATE  the 'drush' database. Do you want to continue? (y/n): y
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Starting Drupal installation. This takes a few seconds ...                                                                [ok]

PHP Fatal error:  Interface 'Iterator' not found in /var/www/drupal-7.22/includes/database/database.inc on line 2236
Drush command terminated abnormally due to an unrecoverable error.                                                        [error]
Error: Interface 'Iterator' not found in /var/www/drupal-7.22/includes/database/database.inc, line 2236

fly66@ulubuntu1304:/var/www/drupal-7.22$


/**
* Empty implementation of a database statement.
*
* This class satisfies the requirements of being a database statement/result
* object, but does not actually contain data.  It is useful when developers
* need to safely return an "empty" result set without connecting to an actual
* database.  Calling code can then treat it the same as if it were an actual
* result set that happens to contain no records.
*
* @see SearchQuery
*/
2236 Numaralı Satır Buradan Başlıyor.
class DatabaseStatementEmpty implements Iterator, DatabaseStatementInterface {

  public function execute($args = array(), $options = array()) {
    return FALSE;
  }

  public function getQueryString() {
    return '';
  }

  public function rowCount() {
    return 0;
  }

  public function setFetchMode($mode, $a1 = NULL, $a2 = array()) {
    return;
  }

  public function fetch($mode = NULL, $cursor_orientation = NULL, $cursor_offset = NULL) {
    return NULL;
  }

  public function fetchField($index = 0) {
    return NULL;
  }

  public function fetchObject() {
    return NULL;
  }

  public function fetchAssoc() {
    return NULL;
  }

  function fetchAll($mode = NULL, $column_index = NULL, array $constructor_arguments = array()) {
    return array();
  }
public function fetchCol($index = 0) {
    return array();
  }

  public function fetchAllKeyed($key_index = 0, $value_index = 1) {
    return array();
  }

  public function fetchAllAssoc($key, $fetch = NULL) {
    return array();
  }

  /* Implementations of Iterator. */

  public function current() {
    return NULL;
  }

  public function key() {
    return NULL;
  }

  public function rewind() {
    // Nothing to do: our DatabaseStatement can't be rewound.
  }

  public function next() {
    // Do nothing, since this is an always-empty implementation.
  }

  public function valid() {
    return FALSE;
  }
}