how to add mysqli driver to drupal 8?
Drupal 8 uses PDO, so I think mysqli is not supported.

From the documentation:


  Drupal's database abstraction layer provides a unified database query API that can query different underlying databases. It is built upon PHP's PDO (PHP Data Objects) database API, and inherits much of its syntax and semantics.