Jump to:
| Project: | Drubuntu |
| Version: | 7.x-10.10-beta1 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I got this error when I ran just "drush drubuntu-site-add mysite1.drupal.localhost" for example :
Drush was not able to start (bootstrap) the Drupal database. [error]
Hint: This error often occurs when Drush is trying to bootstrap a
site that has not been installed or does not have a configured
database.
Drush was attempting to connect to :
Drupal version : 7.0
Site URI : mysite1.drupal.localhost
Default theme : garland
Administration theme: garland
PHP configuration : /opt/lampp/etc/php.ini
Drush version : 5.0-dev
Drush configuration:
Drush alias files :
Drupal root : /home/dad/workspace/drupal
Site path : sites/mysite1.drupal.localhost
Modules path : sites/all/modules
Themes path : sites/all/themes
File directory path: sites/mysite1.drupal.localhost/files
%paths : Array
You can select another site with a working database setup by
specifying the URI to use with the --uri parameter on the command
line or $options['uri'] in your drushrc.php file.
Drupal install was not successful.
So, how do I add the database option in "drush drubuntu-site-add" ?
Comments
#1
same error here!
i guess that this problem also caused the sandbox not created sucessfully...
any hints appreaciated, thx!
walter
#2
Problem might be because of - you have mentioned LOCALHOST in your settings.php. Instead of "LOCALHOST" if you mention an IP or complete hostname then this problem wont pop-up. :)