Connect and Query external database in Drupal 8 and shortcut_set_users doesn’t exist error

To connect with external db add the following code in the sites/default/settings.php replacing username/password and database name with your credentials. $databases[‘external’][‘default’] = array( ‘database’ => ‘external’, ‘username’… Read more “Connect and Query external database in Drupal 8 and shortcut_set_users doesn’t exist error”