Database Error: com.mysql.jdbc.exceptions.jdbc4.Communicatio

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
WoAyumi
A regular
A regular
Posts: 52
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat Apr 28, 2012 6:24 pm

Re: Database Error: com.mysql.jdbc.exceptions.jdbc4.Communic

Post by WoAyumi »

UP!

If to assume, that problem is in MySQL configuration, what problem might it be and how to resolve it?

Thank you.

Code: Select all

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
02:05:16 [INFO] [iConomy] Database Error: 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.
02:05:16 [INFO] [iConomy] Database Error: 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.
02:05:16 [INFO] [iConomy] Database Error: 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.
02:05:16 [INFO] [iConomy] Database Error: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
User avatar
Edge100x
Founder
Founder
Posts: 13129
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Database Error: com.mysql.jdbc.exceptions.jdbc4.Communic

Post by Edge100x »

There's very little that I can tell you without a better error message, unfortunately.
WoAyumi
A regular
A regular
Posts: 52
Joined: Sat Apr 28, 2012 6:24 pm

Re: Database Error: com.mysql.jdbc.exceptions.jdbc4.Communic

Post by WoAyumi »

What information do I need to add, in order to help to resolve this issue, that I have?
User avatar
TimeX
Staff
Staff
Posts: 1796
Joined: Thu Jul 22, 2004 12:24 am
Location: Big Bear, CA

Re: Database Error: com.mysql.jdbc.exceptions.jdbc4.Communic

Post by TimeX »

It seems that it just doesn't print a very detailed error message. Some basic things to check are that you have your SQL information entered correctly for that plugin. If this is connecting to a database on our web hosting, remember to use your site's DNS address and not "localhost".
TimeX
WoAyumi
A regular
A regular
Posts: 52
Joined: Sat Apr 28, 2012 6:24 pm

Re: Database Error: com.mysql.jdbc.exceptions.jdbc4.Communic

Post by WoAyumi »

This error is not permanent. It appears randomly, spamming the server console and then disappear, leaving a gigabyte of trash in server log file.

TimeX, You mean, I have to enter an external IP address and not 127.0.0.1?
User avatar
TimeX
Staff
Staff
Posts: 1796
Joined: Thu Jul 22, 2004 12:24 am
Location: Big Bear, CA

Re: Database Error: com.mysql.jdbc.exceptions.jdbc4.Communic

Post by TimeX »

I somehow missed the first page of this thread and see some things were already discussed. Since you are running both the game server and the SQL server on the same machine, an external address is not needed. Incorrect information would also cause a constant problem, and not one that comes and goes.

As Edge mentioned above, the plugin really needs to give better information, but it isn't coded to do so.
TimeX
WoAyumi
A regular
A regular
Posts: 52
Joined: Sat Apr 28, 2012 6:24 pm

Re: Database Error: com.mysql.jdbc.exceptions.jdbc4.Communic

Post by WoAyumi »

Do you guys know some decent alternatives for this plugin?

Thank you.
Post Reply