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