Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- My BigBrother config file :
- MySQL = true #If true, uses MySQL. If false, uses Sqlite
- stickItem = 280 #The item used for /bb stick
- mysqlDB = jdbc:mysql://localhost:3306/minecraft #DB for MySQL (if applicable)
- engine = INNODB #Engine for the Database (INNODB is recommended)
- autoWatch = true #Automatically start watching players
- defaultSearchRadius = 2 #Default search radius for bbhere and bbfind
- restoreFire = false #Restore fire when rolling back
- flatFileLogs = false #If true, will also log actions to .logs (one for each player)
- mysqlUser = minecraft
- mysqlPass = ********
- maxRecords = 10000000 #The maximum number of records that you want in your database (-1 to disable)
- cleanseAge = 1d12h #The maximum age of items in the database (can be mixture of #d,h,m,s) (0s to disable)
- sendDelay = 4 #Delay in seconds to batch send updates to database (4-5 recommended)
- --------------------
- BigBrother error :
- 2011-03-09 08:25:25 [SEVERE] [BBROTHER] MySQL SQLException on Creation
- java.sql.SQLException: Access denied for user 'minecraft'@'127.0.0.1' (using password: YES)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885)
- at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3421)
- at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1247)
- at com.mysql.jdbc.Connection.createNewIO(Connection.java:2775)
- at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
- at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
- at java.sql.DriverManager.getConnection(DriverManager.java:620)
- at java.sql.DriverManager.getConnection(DriverManager.java:200)
- at me.taylorkelly.bigbrother.datasource.ConnectionService.getConnection(ConnectionService.java:77)
- at me.taylorkelly.bigbrother.datasource.JDCConnectionDriver.connect(JDCConnectionDriver.java:41)
- at java.sql.DriverManager.getConnection(DriverManager.java:620)
- at java.sql.DriverManager.getConnection(DriverManager.java:222)
- at me.taylorkelly.bigbrother.datasource.ConnectionManager.createConnection(ConnectionManager.java:27)
- at me.taylorkelly.bigbrother.BigBrother.onEnable(BigBrother.java:95)
- at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
- at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
- at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
- at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
- at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
- at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:205)
- at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:196)
- at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
- at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:183)
- at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:619)
- at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:582)
- at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:576)
- at net.minecraft.server.Packet3Chat.a(SourceFile:24)
- at net.minecraft.server.NetworkManager.a(SourceFile:230)
- at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
- at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
- at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
- at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
- at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
- 2011-03-09 08:25:25 [SEVERE] [BBROTHER] Could not establish SQL connection. Disabling BigBrother
- --
- My MySQL version :
- minecraft@omg:/home/minecraft/bukkit$ mysql --version
- mysql Ver 14.14 Distrib 5.1.55, for debian-linux-gnu (x86_64) using EditLine wrapper
- --
- The proof I can connect to MySQL using my login/pass
- minecraft@omg:/home/minecraft/bukkit$ mysql -uminecraft -hlocalhost -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 167877
- Server version: 5.1.55-rel12.6 (Percona Server (GPL), 12.6 , Revision 200)
- mysql> show databases;
- +--------------------+
- | Database |
- +--------------------+
- | information_schema |
- | minecraft |
- +--------------------+
- 2 rows in set (0,00 sec)
- mysql> use minecraft;
- Reading table information for completion of table and column names
- You can turn off this feature to get a quicker startup with -A
- Database changed
- mysql> show tables;
- +---------------------+
- | Tables_in_minecraft |
- +---------------------+
- | iBalances |
- | items |
- | jail_prisoners |
- | jail_zones |
- | logblock |
- | logblock-extra |
- | mcgroups |
- | mcrights |
- | mctemplateplugins |
- | mcusers |
- | settings |
- | users |
- +---------------------+
- 12 rows in set (0,00 sec)
- mysql> WHY BIGBROTHER WON'T CONNECT FFS ?
Add Comment
Please, Sign In to add comment