The Sony Xperia Z5 Android smartphone was released in October 2015. The Sony Xperia Z5 features 5.2 inches 1080 x 1920 pixels display and is equipped with a Qualcomm Snapdragon 810 processor alongside 3GB RAM and a 23 MP rear camera.
1. Does not sounds like you need a new motherboard unless the port is soldered directly on your phone.
If the port is soldered directly on then you can always de-solder and re-solder. If you don't feel that you are able to do this I would recommend taking it to a local repair shop.