Hello
In fact I use drupal 8 with the view database connector but I did the connection of my second database. Here is my configuration
$ databases ['default'] ['default'] = array (
'database' => 'bd_drupal8',
'username' => 'root',
'password' => '',
'prefix' => '',
'host' => 'localhost',
'port' => '3306',
'namespace' => 'Drupal \\ Core \\ Database \\ Driver \\ mysql',
'driver' => 'mysql',
);
$ databases ['external'] ['default'] = array (
'database' => 'student',
'username' => 'root',
'password' => '',
'prefix' => 'etu_',
'host' => 'localhost',
'port' => '3306',
'namespace' => 'Drupal \\ Core \\ Database \\ Driver \\ mysql',
'driver' => 'mysql',
);
But my problem is that I can see my tables from my second database 'ma_base' when I want to create a view. Thank you for pointing out the problem if there is either to help me to make a good configuration.