title: What is it like to join between tables on different servers?
body: <p>I have two db on different ip servers, one on localhost and the other on the server.
  how do you join between tables?</p>
  
  <pre><code>$rka = \DB::connection('db_appel_shared');
      $rup_ut = $rka-&gt;table('m_rka_rev as a')
          -&gt;select('*')
          -&gt;join('vms_db.tbl_pejabat_pembelian2 as j', 'a.kode_unit', '=', 'j.id_unit') 
          -&gt;join('vms_db.users as k', 'j.id_user', '=', 'k.id')
          -&gt;where('j.id_user', Session::get('id'))
          -&gt;get();
  </code></pre>
  
  <p>can you solve the problem, help me</p>