{"comment":{"created_at":"2011-10-10T14:27:56Z","body":"You will have to set up the address, port, username, password as well as the database name to correspond with your MySQL Server to which the details should be provided by your host (Other then database name because you create your databases).","updated_at":"2011-10-10T14:27:56Z","url":"https://api.github.com/repos/vanZeben/Mail/issues/comments/2347829","id":2347829,"user":{"avatar_url":"https://secure.gravatar.com/avatar/a29e791e4c159f4800bed52244fc4d7d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/vanZeben","id":749475,"login":"vanZeben"}},"action":"created","issue":{"number":5,"created_at":"2011-10-10T09:36:13Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"i drag and drop the mail.jar into my plugins folder and apon server start i get a huge error, please fix.\r\n2011-10-10 20:28:32 [INFO] [Mail] Using: Permissions.\r\n2011-10-10 20:28:33 [INFO] CButD: CraftBukkit is up to Date\r\n2011-10-10 20:28:33 [INFO] SQLException: Communications link failure\r\n\r\nThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.\r\n2011-10-10 20:28:33 [INFO] SQLState: 08S01\r\n2011-10-10 20:28:33 [INFO] VendorError: 0\r\n2011-10-10 20:28:33 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure\r\n\r\nThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.\r\n2011-10-10 20:28:33 [SEVERE] \tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n2011-10-10 20:28:33 [SEVERE] \tat sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.lang.reflect.Constructor.newInstance(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.mysql.jdbc.Util.handleNewInstance(Util.java:407)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)\r\n2011-10-10 20:28:33 [SEVERE] \tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n2011-10-10 20:28:33 [SEVERE] \tat sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.lang.reflect.Constructor.newInstance(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.mysql.jdbc.Util.handleNewInstance(Util.java:407)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.sql.DriverManager.getConnection(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.sql.DriverManager.getConnection(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.imdeity.mail.MySQLConnection.<init>(MySQLConnection.java:28)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.imdeity.mail.Mail.setupDatabase(Mail.java:63)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.imdeity.mail.Mail.onEnable(Mail.java:38)\r\n2011-10-10 20:28:33 [SEVERE] \tat org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)\r\n2011-10-10 20:28:33 [SEVERE] \tat org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)\r\n2011-10-10 20:28:33 [SEVERE] \tat org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)\r\n2011-10-10 20:28:33 [SEVERE] \tat org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)\r\n2011-10-10 20:28:33 [SEVERE] \tat org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)\r\n2011-10-10 20:28:33 [SEVERE] \tat net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)\r\n2011-10-10 20:28:33 [SEVERE] \tat net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)\r\n2011-10-10 20:28:33 [SEVERE] \tat net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)\r\n2011-10-10 20:28:33 [SEVERE] \tat net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)\r\n2011-10-10 20:28:33 [SEVERE] \tat net.minecraft.server.ThreadServerApplication.run(SourceFile:417)\r\n2011-10-10 20:28:33 [SEVERE] Caused by: java.net.ConnectException: Connection refused: connect\r\n2011-10-10 20:28:33 [SEVERE] \tat java.net.DualStackPlainSocketImpl.connect0(Native Method)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.net.AbstractPlainSocketImpl.connect(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.net.PlainSocketImpl.connect(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.net.SocksSocketImpl.connect(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.net.Socket.connect(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.net.Socket.connect(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.net.Socket.<init>(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat java.net.Socket.<init>(Unknown Source)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)\r\n2011-10-10 20:28:33 [SEVERE] \tat com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)\r\n2011-10-10 20:28:33 [SEVERE] \t... 27 more\r\n2011-10-10 20:28:33 [SEVERE] Error occurred while enabling Mail v0.6 (Is it up to date?): [Mail] Failed to create connection to Mysql database\r\ncom.avaje.ebeaninternal.server.lib.sql.DataSourceException: [Mail] Failed to create connection to Mysql database\r\n\tat com.imdeity.mail.MySQLConnection.<init>(MySQLConnection.java:32)\r\n\tat com.imdeity.mail.Mail.setupDatabase(Mail.java:63)\r\n\tat com.imdeity.mail.Mail.onEnable(Mail.java:38)\r\n\tat org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)\r\n\tat org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)\r\n\tat org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)\r\n\tat org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)\r\n\tat org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)\r\n\tat net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)\r\n\tat net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)\r\n\tat net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)\r\n\tat net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)\r\n\tat net.minecraft.server.ThreadServerApplication.run(SourceFile:417)","comments":3,"title":"Errors","updated_at":"2011-10-10T14:27:56Z","url":"https://api.github.com/repos/vanZeben/Mail/issues/5","id":1862110,"assignee":null,"milestone":null,"closed_at":"2011-10-10T14:27:56Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/45393f3cbb9c5735025ece24f497623c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/McLovn73","id":1115905,"login":"McLovn73"},"html_url":"https://github.com/vanZeben/Mail/issues/5","labels":[],"state":"closed"},"legacy":{"issue_id":1862110,"comment_id":2347829}}