บรรทัดโค้ดด้านล่างเพิ่มใน /etc/phpmyadmin/config.inc.php ที่ท้ายไฟล์:
$i++; $cfg['Servers'][$i]['host'] = 'HostName:port'; // hostname และ port ให้หากไม่ใช่ค่าเริ่มต้น $cfg['Servers'][$i]['user'] = 'userName'; // user name สำหรับ remote server $cfg['Servers'][$i]['password'] = 'Password'; // รหัสผ่าน $cfg['Servers'][$i]['auth_type'] = 'config';
จะแสดง "Current Server:" พร้อม dropdown ของทั้ง "127.0.0.1" และที่ให้กับ $cfg['Servers'][$i]['host']
ผู้ใช้สามารถสลับระหว่างเซิร์ฟเวอร์ทั้งสองได้