[Statistics] Cannot establish a database connection! #386


  • Waiting
Open
  • Lucca created this issue Jun 16, 2017

    I am using the v1.3.0

     

    [19:09:43] [Server thread/INFO]: Starting minecraft server version 1.12
    [19:09:43] [Server thread/INFO]: Loading properties
    [19:09:43] [Server console handler/ERROR]: Exception handling console input
    java.io.IOException: Identificador inválido
    	at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_121]
    	at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_121]
    	at java.io.BufferedInputStream.fill(Unknown Source) ~[?:1.8.0_121]
    	at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_121]
    	at org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:248) ~[craftbukkit-1.12.jar:git-Bukkit-ed8c725]
    	at org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:261) ~[craftbukkit-1.12.jar:git-Bukkit-ed8c725]
    	at org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:198) ~[craftbukkit-1.12.jar:git-Bukkit-ed8c725]
    	at org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2145) ~[craftbukkit-1.12.jar:git-Bukkit-ed8c725]
    	at org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLineSimple(ConsoleReader.java:3183) ~[craftbukkit-1.12.jar:git-Bukkit-ed8c725]
    	at org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2333) ~[craftbukkit-1.12.jar:git-Bukkit-ed8c725]
    	at org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2269) ~[craftbukkit-1.12.jar:git-Bukkit-ed8c725]
    	at org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2257) ~[craftbukkit-1.12.jar:git-Bukkit-ed8c725]
    	at net.minecraft.server.v1_12_R1.DedicatedServer$2.run(DedicatedServer.java:86) [craftbukkit-1.12.jar:git-Bukkit-ed8c725]
    [19:09:43] [Server thread/INFO]: Default game type: SURVIVAL
    [19:09:43] [Server thread/INFO]: Generating keypair
    [19:09:43] [Server thread/INFO]: Starting Minecraft server on *:25565
    [19:09:43] [Server thread/INFO]: Using default channel type
    [19:09:43] [Server thread/INFO]: This server is running CraftBukkit version git-Bukkit-ed8c725 (MC: 1.12) (Implementing API version 1.12-R0.1-SNAPSHOT)
    [19:09:43] [Server thread/INFO]: [HealthBar] Loading HealthBar v1.8.3
    [19:09:43] [Server thread/INFO]: [Statistics] Loading Statistics v1.3.0
    [19:09:43] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    [19:09:43] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
    [19:09:43] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    [19:09:43] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
    [19:09:43] [Server thread/INFO]: Preparing level "world"
    [19:09:44] [Server thread/INFO]: Preparing start region for level 0 (Seed: -6038045930598954400)
    [19:09:45] [Server thread/INFO]: Preparing spawn area: 68%
    [19:09:45] [Server thread/INFO]: Preparing start region for level 1 (Seed: -6038045930598954400)
    [19:09:46] [Server thread/INFO]: Preparing start region for level 2 (Seed: -6038045930598954400)
    [19:09:46] [Server thread/INFO]: [HealthBar] Enabling HealthBar v1.8.3
    [19:09:46] [Server thread/INFO]: [Statistics] Enabling Statistics v1.3.0
    [19:09:46] [Server thread/INFO]: [Statistics] +------ [ Fetching Patches ] ------+
    [19:09:46] [Server thread/INFO]: [Statistics] |  All patch files are up to date  |
    [19:09:46] [Server thread/INFO]: [Statistics] +----------------------------------+
    [19:09:46] [Server thread/ERROR]: [Statistics] Cannot establish a database connection!
    [19:09:46] [Server thread/ERROR]: [Statistics] Is the plugin set up correctly?
    [19:09:46] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [19:09:46] [Server thread/INFO]: Done (2,856s)! For help, type "help" or "?"
    [19:09:46] [Server thread/INFO]: Starting remote control listener
    [19:09:46] [Server thread/WARN]: No rcon password set in 'C:\Users\h_luc\Desktop\craftbukkit\server.properties', rcon disabled!
    

     

     

     

    debug: false
    log-prefix: 'Stats'
    database:
      host: 'localhost'
      port: 3306
      name: 'minecraft'
      prefix: 'statics_'
      user: 'root'
      pass: ''
      reconnect_interval: 5

     

     

     

    my database is statics_minecraft

  • Lucca added a tag Waiting Jun 16, 2017
  • 710971956 posted a comment Jul 26, 2017

    My server also like it:(


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