Advertisement
Guest User

Untitled

a guest
Dec 20th, 2014
484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. drupal-7.23 tangmonk $ drush en omega
  2.  
  3. Command pm-enable needs a higher bootstrap level to run - you will [error]
  4. need to invoke drush from a more functional Drupal environment to run
  5. this command.
  6.  
  7. The drush command 'en omega' could not be executed. [error]
  8. Drush was not able to start (bootstrap) the Drupal database. [error]
  9.  
  10. Hint: This may occur when Drush is trying to:
  11. * bootstrap a site that has not been installed or does not have a
  12. configured database. In this case you can select another site with a
  13. working database setup by specifying the URI to use with the --uri
  14. parameter on the command line. See `drush topic docs-aliases` for
  15. details.
  16.  
  17. Drush was attempting to connect to:
  18. Drupal version : 7.23
  19. Site URI : http://default
  20. Database driver : mysql
  21. Database username : root
  22. Database name : drupal
  23. Default theme : garland
  24. Administration theme : garland
  25. PHP executable : /usr/bin/php
  26. PHP configuration :
  27. PHP OS : Darwin
  28. Drush version : 7.0-dev
  29. Drush configuration :
  30. Drush alias files :
  31. Drupal root : /Users/tangmonk/Sites/drupal/drupal-7.23
  32. Site path : sites/default
  33. File directory path : sites/default/files
  34. * connect the database through a socket. The socket file may be
  35. wrong or the php-cli may have no access to it in a jailed shell. See
  36. http://drupal.org/node/1428638 for details.
  37.  
  38. sudo mkdir /var/mysql
  39. sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock
  40.  
  41. $ vim ~/.bash_profile
  42. alias drush='/Applications/MAMP/bin/php/php5.5.3/bin/php /opt/drush/drush.php'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement