drupal site install using drush/composer

hi and I’m still somewhat new to drupal. I’ve had to set up a test localhost server to try and figure this out as on my hosted site, I ran in to the same issue.

Installed EnvironmentL:

LinuxMint 18.2 Sonya
Server version: Apache/2.4.18 (Ubuntu)
Server built:   2017-09-18T15:09:02

mysql  Ver 14.14 Distrib 5.7.19, for Linux (x86_64) using  EditLine wrapper

PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.22-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies

Composer version 1.5.2 2017-09-11 16:59:25

Drush Version   :  8.1.15

drupal-8.4.0

installed composer and drush global following the instructions on the drush.org site.

ran:
/var/www/../../public_html/ $ drush dl --drupal-project-rename=drupaltestdl
but then after cd in to the drupal dir ran:
drush --root=/var/www/../../public_html/drupaltestdl site-install --db-url=msql://dbuname:[email protected]:3360/
output:

Unable to load class DrupalDriverDatabasemsqlDrush                    [error]
PHP Fatal error:  Uncaught Error: Call to a member function db_spec() on boolean in /home/****/.composer/vendor/drush/drush/commands/core/site_install.drush.inc:124
Stack trace:
#0 /home/****/.composer/vendor/drush/drush/includes/command.inc(422): drush_core_pre_site_install()
#1 /home/****/.composer/vendor/drush/drush/includes/command.inc(231): _drush_invoke_hooks(Array, Array)
#2 /home/****/.composer/vendor/drush/drush/includes/command.inc(199): drush_command()
#3 /home/****/.composer/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#4 /home/****/.composer/vendor/drush/drush/includes/preflight.inc(66): DrushBootBaseBoot->bootstrap_and_dispatch()
#5 /home/****/.composer/vendor/drush/drush/drush.php(12): drush_main()
#6 {main}
  thrown in /home/****/.composer/vendor/drush/drush/commands/core/site_install.drush.inc on line 124
Drush command terminated abnormally due to an unrecoverable error.        [error]
Error: Uncaught Error: Call to a member function db_spec() on boolean in
/home/****/.composer/vendor/drush/drush/commands/core/site_install.drush.inc:124
Stack trace:
#0 /home/****/.composer/vendor/drush/drush/includes/command.inc(422):
drush_core_pre_site_install()
#1 /home/****/.composer/vendor/drush/drush/includes/command.inc(231):
_drush_invoke_hooks(Array, Array)
#2 /home/****/.composer/vendor/drush/drush/includes/command.inc(199):
drush_command()
#3
/home/****/.composer/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67):
drush_dispatch(Array)
#4 /home/****/.composer/vendor/drush/drush/includes/preflight.inc(66):
DrushBootBaseBoot->bootstrap_and_dispatch()
#5 /home/****/.composer/vendor/drush/drush/drush.php(12): drush_main()
#6 {main}
  thrown in
/home/****/.composer/vendor/drush/drush/commands/core/site_install.drush.inc,
line 124

drush site-install –debug:

$ drush site-install --debug
Using the Drush script found at /home/****/.composer/vendor/drush/drush/drush.launcher using pcntl_exec
Cache HIT cid: 8.1.15-commandfiles-0-aedf0a138cee26c3d678cf62f43b3608         [debug]
[0.02 sec, 2.65 MB]
Bootstrap to phase 0. [0.12 sec, 6.88 MB]                                 [bootstrap]
Bootstrap to phase 1. [0.12 sec, 6.88 MB]                                 [bootstrap]
Drush bootstrap phase : bootstrap_drupal_root() [0.13 sec, 7.56 MB]       [bootstrap]
Initialized Drupal 8.4.0 root directory at                                [bootstrap]
/var/www/../../public_html/drupaltestdl [0.14 sec, 7.57 MB]
Find command files for phase 1 (max=1) [0.14 sec, 6.28 MB]                    [debug]
Cache HIT cid: 8.1.15-commandfiles-1-71b05d9ea7a429bc7f4259979970daca         [debug]
[0.15 sec, 6.28 MB]
Cache HIT cid: 8.1.15-annotationfiles-1-2ac0792587bbe3002d68470b27d58860      [debug]
[0.15 sec, 6.35 MB]
Found command: site-install (commandfile=site_install) [0.15 sec, 6.35 MB][bootstrap]
Calling hook drush_core_site_install_validate [0.19 sec, 7.88 MB]             [debug]
Returned from hook drush_core_site_install_validate [0.19 sec, 7.88 MB]       [debug]
Calling hook drush_core_pre_site_install [0.19 sec, 7.9 MB]                   [debug]
Drush bootstrap phase : bootstrap_drupal_site() [0.21 sec, 8.43 MB]       [bootstrap]
Initialized Drupal site default at sites/default [0.21 sec, 8.43 MB]      [bootstrap]
Find command files for phase 2 (max=3) [0.21 sec, 7.07 MB]                    [debug]
Cache MISS cid: 8.1.15-install_profile-66ecfeb9791a023150773849f1550c5d       [debug]
[0.21 sec, 7.07 MB]
Cache HIT cid: 8.1.15-commandfiles-2-922fe8da44dce18f081805a74eb1725e         [debug]
[0.21 sec, 7.07 MB]
Drush bootstrap phase : bootstrap_drupal_configuration() [0.21 sec, 7.09  [bootstrap]
MB]
Create from request [0.21 sec, 7.1 MB]                                        [debug]
add service modifier [0.22 sec, 7.35 MB]                                      [debug]
Find command files for phase 3 (max=3) [0.22 sec, 7.35 MB]                    [debug]
DrushSqlSqlException: Unable to find a matching SQL Class. Drush cannot [error]
find your database connection details. in
/home/****/.composer/vendor/drush/drush/commands/sql/sql.drush.inc:545
Stack trace:
#0
/home/****/.composer/vendor/drush/drush/commands/core/site_install.drush.inc(123):
drush_sql_get_class()
#1 /home/****/.composer/vendor/drush/drush/includes/command.inc(422):
drush_core_pre_site_install()
#2 /home/****/.composer/vendor/drush/drush/includes/command.inc(231):
_drush_invoke_hooks(Array, Array)
#3 /home/****/.composer/vendor/drush/drush/includes/command.inc(199):
drush_command()
#4
/home/****/.composer/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67):
drush_dispatch(Array)
#5 /home/****/.composer/vendor/drush/drush/includes/preflight.inc(66):
DrushBootBaseBoot->bootstrap_and_dispatch()
#6 /home/****/.composer/vendor/drush/drush/drush.php(12): drush_main()
#7 {main} [0.22 sec, 7.36 MB]
Command dispatch complete [0.22 sec, 7.31 MB]                                [notice]

Any help on what could be causing this issue? I see how and where it going with drupal using the compser/drush tools in place of the admin panel and where I am just learning drupal, I might as well learn it to begin but with errors like I posted where do I even begin to fix the issues?

Thank you in advance.

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/1/feed