Hi!
I work with shared server hosting with hundreds of accounts and databases.
Mysql has been a problem as it is consuming a lot of CPU and RAM, so I thought about moving Mysql to an external dedicated server for Mysql.
But we have hundreds of client applications running, in addition to clients that migrate to our hosting and it is unfeasible to change the host of all applications to the Mysql server address.
I've read articles about using SSH tunneling and other proxying methods to redirect localhost:3306 connections to an external IP. Would it be possible?
Using Mysql tunnel seems to be relatively easy, but would that work well? Can you suggest me a reliable method of doing this redirection?
I understand that redirecting all localhost to another IP would be a problem for the server, but with Mysql tunnel it seems possible to specifically redirect connections on port 3306.
Could you share your knowledge about this?
Thank you very much
I work with shared server hosting with hundreds of accounts and databases.
Mysql has been a problem as it is consuming a lot of CPU and RAM, so I thought about moving Mysql to an external dedicated server for Mysql.
But we have hundreds of client applications running, in addition to clients that migrate to our hosting and it is unfeasible to change the host of all applications to the Mysql server address.
I've read articles about using SSH tunneling and other proxying methods to redirect localhost:3306 connections to an external IP. Would it be possible?
Using Mysql tunnel seems to be relatively easy, but would that work well? Can you suggest me a reliable method of doing this redirection?
I understand that redirecting all localhost to another IP would be a problem for the server, but with Mysql tunnel it seems possible to specifically redirect connections on port 3306.
Could you share your knowledge about this?
Thank you very much