Your user needs to have access from the LAN.

Check your user database to see where the user in question is allowed to connect from. You may need to modify the host field for the user or add the...