Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Posted by: Uros Djokic
Date: December 03, 2009 09:16AM

I had the same problem on my Ubuntu server.
Solution was to disable apparmour because it loads mysqld peofile in enforcing mode and is blocking sending packets back to jdbc driver wrongly thinking it is vulnerability! You can try to put mysqld in complain mode in apparmour. with aa-complain and then type mysqld.

Options: ReplyQuote


Subject
Written By
Posted
Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
December 03, 2009 09:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.