t3hk0d3/PermissionsEx — Issue #176: [bug] version1.18 mysql error
Author: jobud9
Created: 2012-01-03 04:01:37+00:00
State: open

Error: pex will not use username given in the config, replacing it with null.
Stack trace:
21:56:28 [INFO] [PermissionsEx] sql backend registered!
21:56:28 [INFO] [PermissionsEx] file backend registered!
21:56:28 [INFO] [PermissionsEx] PermissionEx plugin initialized.
21:56:28 [INFO] [PermissionsEx] p2compat backend registered!
21:56:28 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
21:56:28 [INFO] [PermissionsEx] Initializing sql backend
21:56:28 [INFO] [PermissionsEx-SQL] Connecting to database "mysql://localhost/bu
kkitperms"
21:56:28 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Acc
ess denied for user ''@'localhost' to database 'bukkitperms' initializing Permis
sionsEx v1.18 (Is it up to date?)
java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorExce
ption: Access denied for user ''@'localhost' to database 'bukkitperms'
at ru.tehkode.permissions.backends.sql.SQLConnection.(SQLConnectio
n.java:61)
at ru.tehkode.permissions.backends.SQLBackend.initialize(SQLBackend.java
:77)
at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager
.java:419)
at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManage
r.java:482)
at ru.tehkode.permissions.PermissionManager.(PermissionManager.jav
a:52)
at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java
:70)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:150)
at org.bukkit.craftbukkit.CraftServer.(CraftServer.java:123)
at net.minecraft.server.ServerConfigurationManager.(ServerConfigur
ationManager.java:52)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:141)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access den
ied for user ''@'localhost' to database 'bukkitperms'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
at com.mysql.jdbc.Util.getInstance(Util.java:382)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:931)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4031)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1296)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2
371)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:794)
at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:305)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at ru.tehkode.permissions.backends.sql.SQLConnection.connect(SQLConnecti
on.java:174)
at ru.tehkode.permissions.backends.sql.SQLConnection.(SQLConnectio
n.java:59)
... 11 more
21:56:28 [WARNING] [PermissionsCompat] PermissionsEx plugin not found. Some plug
ins may not work.
21:56:28 [INFO] Preparing level "world"
21:56:28 [INFO] Default game type: 0
21:56:28 [INFO] Preparing start region for level 0 (Seed: -8073017376187407196)
21:56:29 [INFO] Preparing start region for level 1 (Seed: -8073017376187407196)
21:56:29 [INFO] Preparing spawn area: 36%
21:56:29 [INFO] Preparing start region for level 2 (Seed: 4821616563474500769)
21:56:30 [INFO] [PermissionsEx] Superperms support enabled.
21:56:30 [SEVERE] Error occurred while enabling PermissionsEx v1.18 (Is it up to
date?): null
java.lang.NullPointerException
at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.ja
va:103)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
.java:957)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
r.java:280)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:182)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:165
)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:337)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:161)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
21:56:30 [SEVERE] [ChatManager] PermissionsEx not found, disabling
21:56:30 [INFO] [ChatManager] ChatManager disabled!
21:56:30 [SEVERE] [Modifyworld] PermissionsEx not found, disabling
21:56:30 [INFO] [Modifyworld] Modifyworld disabled!
21:56:30 [INFO] [PermissionsCompat] Compatibility layer enabled.
21:56:30 [INFO] Server permissions file permissions.yml is empty, ignoring it
21:56:30 [INFO] Done (0.213s)! For help, type "help" or "?"