Error whilst attempting to get connection??? #200


  • New
  • Defect
Open
Assigned to _ForgeUser7076494
  • _ForgeUser8012897 created this issue Feb 2, 2012

    What is the problem?
    I start my Bukkit server everything is running fine and then I get this from HawkEye. http://pastebin.com/njwfKk0Y
    I'm new to MySQL and using anti-griefing plugins, but I know all the info from my config is right, so what's the problem?

    What steps will reproduce the problem?
    1. Starting the server
    2. Reloading the server
    3.

    What version of HawkEye are you using (shown in console during start-up)?
    1.0.5b

    Show me any console errors and/or your start-up console message for HawkEye
    21:51:39 [INFO] [HawkEye] Loading HawkEye v1.0.5b.
    21:51:39 [INFO] [HawkEye] Starting HawkEye 1.0.5b initiation process...
    21:51:39 [INFO] [HawkEye] Using PermissionsEx for user permissions
    21:51:39 [INFO] [HawkEye] Performing update check...
    21:51:40 [INFO] [HawkEye] No updates available for HawkEye
    21:51:40 [SEVERE] [HawkEye] Error whilst attempting to get 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.
    21:51:40 [SEVERE] [HawkEye] Error initiating HawkEye database connection, disabling plugin
    21:51:40 [INFO] [HawkEye] Unloading HawkEye v1.0.5b.
    21:51:40 [INFO] [HawkEye] Version 1.0.5b disabled!

    Show me your config.yml and/or your config.php (REMOVE YOUR PASSWORD)
    mysql:
      hawkeye-table: hawkeye
      port: 3306
      player-table: hawk_players
      username: root
      world-table: hawk_worlds
      hostname: localhost
      max-connections: 10
      password: *********
      database: minecraft

    Have you checked the FAQ page? I've honestly checked everywhere.

    Additional Information: Since I'm new to this, I'm not sure if you need this but I use phpmyadmin to create my minecraft database (which obviously has no tables)

  • _ForgeUser8012897 added the tags New Defect Feb 2, 2012
  • _ForgeUser8012897 posted a comment Feb 7, 2012

    bump...

  • _ForgeUser8012897 posted a comment Feb 11, 2012

    bump...

  • _ForgeUser8346465 posted a comment Feb 12, 2012

    Hiya,

    Not sure if this will help but this is how I fixed the error on my Amazon linux system. I only got the error on the entire server restart. Restarting bukkit itself was fine.

    I finally worked out that the bukkit startup script I was using was executing before the mysql startup (or in my case the xampp startup). So I changed the order of service startup, rebooted for a test and lo and behold it worked fine.

    Note I'm no Linux guru but I'm guessing the above error may have something to do with the mysql service not being ready?

  • _ForgeUser8012897 posted a comment Feb 12, 2012

    @brandnewsmurf: Go

    I would try this but I don't know how, could you please explain how to change the order?

  • _ForgeUser8346465 posted a comment Feb 13, 2012

    What operating system are you using? Windows/Linux?

  • _ForgeUser8012897 posted a comment Feb 16, 2012

    @brandnewsmurf: Go

    Switched to HawkEye... works now. Thanks anyway.


To post a comment, please login or register a new account.