Multiple sites, multiple countries

Recently i saw this being used in Gett.com:

every country has a small country code added to the address, and than lists the locations in which the service is available in this place. the site uses WPML (a friend of mine actually built it) so it’s possible.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)