Advertisement
Guest User

Untitled

a guest
Aug 8th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.10 KB | None | 0 0
  1. root@drupal-fe:~/drupal-7.56# drush status
  2.  Drupal version         :  7.56                      
  3.  Site URI               :  http://default            
  4.  Database driver        :  mysql                      
  5.  Database hostname      :  localhost                  
  6.  Database username      :  root                      
  7.  Database name          :  drupal                    
  8.  PHP configuration      :  /etc/php/7.0/cli/php.ini  
  9.  PHP OS                 :  Linux                      
  10.  Drush script           :  /usr/local/bin/drush      
  11.  Drush version          :  8.1.12                    
  12.  Drush temp directory   :  /tmp                      
  13.  Drush configuration    :                            
  14.  Drush alias files      :                            
  15.  Drupal root            :  /root/drupal-7.56          
  16.  Drupal Settings File   :  sites/default/settings.php
  17.  Site path              :  sites/default              
  18.  
  19. root@drupal-fe:~/drupal-7.56# drush sql-connect
  20. mysql --user=root --password='<redacted>' --database=drupal --host=localhost
  21.  
  22. root@drupal-fe:~/drupal-7.56# drush si standard --debug --db-url=mysql://root:<redacted>@localhost/drupal
  23. Phar detected. Proceeding to drush_main().
  24. Cache HIT cid: 8.1.12-commandfiles-0-60954001ac342546c761d962804718d9 [0.01 sec, 3.4 MB]                                     [debug]
  25. Bootstrap to phase 0. [0.07 sec, 7.73 MB]                                                                                [bootstrap]
  26. Bootstrap to phase 1. [0.07 sec, 7.73 MB]                                                                                [bootstrap]
  27. Drush bootstrap phase : bootstrap_drupal_root() [0.08 sec, 8.08 MB]                                                      [bootstrap]
  28. Initialized Drupal 7.56 root directory at /root/drupal-7.56 [0.08 sec, 8.09 MB]                                          [bootstrap]
  29. Find command files for phase 1 (max=1) [0.08 sec, 6.8 MB]                                                                    [debug]
  30. Cache HIT cid: 8.1.12-commandfiles-1-d33111b08c6795511c6d28b045693db4 [0.08 sec, 6.8 MB]                                     [debug]
  31. Cache HIT cid: 8.1.12-annotationfiles-1-1ac6a1ecdb82ff4257ef2850e48ca577 [0.08 sec, 6.8 MB]                                  [debug]
  32. Found command: site-install (commandfile=site_install) [0.08 sec, 6.8 MB]                                                [bootstrap]
  33. Calling hook drush_core_site_install_validate [0.09 sec, 8.24 MB]                                                            [debug]
  34. Returned from hook drush_core_site_install_validate [0.09 sec, 8.24 MB]                                                      [debug]
  35. Calling hook drush_core_pre_site_install [0.09 sec, 8.26 MB]                                                                 [debug]
  36. Drush\Sql\SqlException: Unable to find a matching SQL Class. Drush cannot find your database connection details. in      [error]
  37. phar:///usr/local/bin/drush/commands/sql/sql.drush.inc:541
  38. Stack trace:
  39. #0 phar:///usr/local/bin/drush/commands/sql/sql.drush.inc(526): drush_sql_get_class(Array)
  40. #1 phar:///usr/local/bin/drush/commands/core/site_install.drush.inc(123): drush_sql_get_class()
  41. #2 phar:///usr/local/bin/drush/includes/command.inc(422): drush_core_pre_site_install('standard')
  42. #3 phar:///usr/local/bin/drush/includes/command.inc(231): _drush_invoke_hooks(Array, Array)
  43. #4 phar:///usr/local/bin/drush/includes/command.inc(199): drush_command('standard')
  44. #5 phar:///usr/local/bin/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
  45. #6 phar:///usr/local/bin/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
  46. #7 phar:///usr/local/bin/drush/includes/startup.inc(458): drush_main()
  47. #8 phar:///usr/local/bin/drush/includes/startup.inc(365): drush_run_main(true, '/', 'Phar detected. ...')
  48. #9 phar:///usr/local/bin/drush/drush(114): drush_startup(Array)
  49. #10 /usr/local/bin/drush(10): require('phar:///usr/loc...')
  50. #11 {main} [0.09 sec, 8.28 MB]
  51. Command dispatch complete [0.09 sec, 8.22 MB]                                                                               [notice]
  52. root@drupal-fe:~/drupal-7.56#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement