Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7891527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:38:26+00:00 2026-06-03T06:38:26+00:00

I have a java plugin to an application that I’m using (I didn’t write

  • 0

I have a java plugin to an application that I’m using (I didn’t write it and don’t have the source) that connects to my MySQL database…the only problem is that anytime I try to load the application I get a communication link failure

17:51:57 [INFO] Could not create connection: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
17:51:57 [INFO] Database initialization failed: java.lang.NullPointerException

I have verified that all of my mysql settings are pointing to the correct port that I’m giving this plugin and I’ve also checked to make sure the user I created for this has privileges over the database it’s going to be modifying. I’m out of ideas and it never times out, I would think it was the plugin but the plugin has many users and they use the plugin with MySQL just fine and I continue to have the problem after reinstalling the plugin.

I’m sure it’s an issue with MySQL but as far as I can tell…everything is fine, so any clues about what would cause this would be great. I’ve been reading around and the stuff I’ve seen didn’t help the issue.

SOLUTION

for UBUNTU and MySQL 5.1: Added mysqld : ALL to /etc/hosts.allow

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:38:28+00:00Added an answer on June 3, 2026 at 6:38 am

    for UBUNTU and MySQL 5.1: Added mysqld : ALL to /etc/hosts.allow

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java web application that uses a plugin architecture. I would like
I have implemented an eclipse plugin that it launches a java application when the
I have a small Java/Gradle project. I'm using the Application plugin to create a
I'm trying to write an Eclipse rcp application using only jruby, or at least
I'm trying to write a plugin for a Java Application. The plugin should be
I have a Flex/Java web application that uses Maven as a build tool. Currently,
The Java end is a Bukkit plugin, so I don't have the freedom to
I'm using Grails and I have a local-plugin (that I wrote) that I'm using
For an existing java application (which I do not have the source code) I
I have an Eclipse plugin that automatically loads existing Eclipse Java project to workspace,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.