0

I have a MySQL DB and two servers.

I currently connect to the DB directly from Server 1. I would like to connect to the DB through Server 2 instead so that the DB does not know the exact source of the request. Is there some way to tell php/eloquent to connect through the second server?

Chris
  • 13,100
  • 23
  • 79
  • 162
  • What do you mean by "through server 2" are server 1 and 2 proxies? Why do you want to connect through server 2, what problem do you want to solve? – Erik Kalkoken Feb 06 '18 at 11:54
  • @ErikKalkoken both are my own machines. I would like to use server 2 as a proxy that eloquent can connect through. – Chris Feb 06 '18 at 11:56
  • Possible duplicate of [mysql proxy socks](https://stackoverflow.com/questions/874556/mysql-proxy-socks) – Erik Kalkoken Feb 06 '18 at 11:59

0 Answers0