Problem: Configure wordpress to use a remote mysql database only available using and SSH tunneling.
Stage: I have a wordpress instance over an apache server on machine (called WP_server). WP_server, does not have Mysql server and has blocked port except 80 (http) and 22 (ssh).
In other place is another machine (Mysql_server) which has a MySQL instance. This server can provide a database to WP_server.
These two server have ssh access.
How should I configure wordpress to use ssh tunneling?