I have the following error message:
SQLSTATE[HY000] [2003] Can\'t connect to MySQL server on \'192.168.50.45\' (4)
How would I
@cdhowie While you may be right in other circumstances, with that particular error the (4) is a mysql client library error, caused by a failed handshake. Its actually visible in the source code. The normal reason is too much data causing an internal timeout. Making 'room' for the connection normally sorts it without masking the issue, like upping the timeout or increasing bandwidth.