LAMP stack with apache and php on one linux server and mysql on a different linux server [closed]

Solution 1:

You tried to bind MySQL to the wrong address.

bind-address = 172.32.35.14

This address specifies what IP address on that server which MySQL listens to and receives connections.

It should either remain unset, to listen on all interfaces, or set to the IP address of the server it's running on.