Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. $cfg['blowfish_secret']='multiServerExample70518';
  2. //any string of your choice (max. 46 characters)
  3. $i = 0;
  4.  
  5. $i++; // server 1 :
  6. $cfg['Servers'][$i]['auth_type'] = 'cookie'; // needed for pma 2.x
  7. $cfg['Servers'][$i]['verbose'] = 'no1';
  8. $cfg['Servers'][$i]['host'] = 'localhost';
  9. $cfg['Servers'][$i]['extension'] = 'mysqli';
  10. // more options for #1 ...
  11.  
  12. $i++; // server 2 :
  13. $cfg['Servers'][$i]['auth_type'] = 'cookie';
  14. $cfg['Servers'][$i]['verbose'] = 'no2';
  15. $cfg['Servers'][$i]['host'] = 'remote.host.addr';//or ip:'10.9.8.1'
  16. // this server must allow remote clients, e.g., host 10.9.8.%
  17. // not only in mysql.host but also in the startup configuration
  18. $cfg['Servers'][$i]['extension'] = 'mysqli';
  19. // more options for #2 ...
  20.  
  21. // end of server sections
  22. $cfg['ServerDefault'] = 0; // to choose the server on startup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement