Guest User

Untitled

a guest
Feb 19th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.23 KB | None | 0 0
  1. My BigBrother config file :
  2.  
  3. MySQL = true #If true, uses MySQL. If false, uses Sqlite
  4. stickItem = 280 #The item used for /bb stick
  5. mysqlDB = jdbc:mysql://localhost:3306/minecraft #DB for MySQL (if applicable)
  6. engine = INNODB #Engine for the Database (INNODB is recommended)
  7. autoWatch = true #Automatically start watching players
  8. defaultSearchRadius = 2 #Default search radius for bbhere and bbfind
  9. restoreFire = false #Restore fire when rolling back
  10. flatFileLogs = false #If true, will also log actions to .logs (one for each player)
  11. mysqlUser = minecraft
  12. mysqlPass = ********
  13. maxRecords = 10000000 #The maximum number of records that you want in your database (-1 to disable)
  14. cleanseAge = 1d12h #The maximum age of items in the database (can be mixture of #d,h,m,s) (0s to disable)
  15. sendDelay = 4 #Delay in seconds to batch send updates to database (4-5 recommended)
  16.  
  17. --------------------
  18.  
  19. BigBrother error :
  20.  
  21. 2011-03-09 08:25:25 [SEVERE] [BBROTHER] MySQL SQLException on Creation
  22. java.sql.SQLException: Access denied for user 'minecraft'@'127.0.0.1' (using password: YES)
  23. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
  24. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
  25. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885)
  26. at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3421)
  27. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1247)
  28. at com.mysql.jdbc.Connection.createNewIO(Connection.java:2775)
  29. at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
  30. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
  31. at java.sql.DriverManager.getConnection(DriverManager.java:620)
  32. at java.sql.DriverManager.getConnection(DriverManager.java:200)
  33. at me.taylorkelly.bigbrother.datasource.ConnectionService.getConnection(ConnectionService.java:77)
  34. at me.taylorkelly.bigbrother.datasource.JDCConnectionDriver.connect(JDCConnectionDriver.java:41)
  35. at java.sql.DriverManager.getConnection(DriverManager.java:620)
  36. at java.sql.DriverManager.getConnection(DriverManager.java:222)
  37. at me.taylorkelly.bigbrother.datasource.ConnectionManager.createConnection(ConnectionManager.java:27)
  38. at me.taylorkelly.bigbrother.BigBrother.onEnable(BigBrother.java:95)
  39. at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
  40. at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
  41. at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
  42. at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
  43. at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
  44. at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:205)
  45. at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:196)
  46. at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
  47. at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:183)
  48. at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:619)
  49. at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:582)
  50. at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:576)
  51. at net.minecraft.server.Packet3Chat.a(SourceFile:24)
  52. at net.minecraft.server.NetworkManager.a(SourceFile:230)
  53. at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
  54. at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
  55. at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
  56. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
  57. at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
  58. 2011-03-09 08:25:25 [SEVERE] [BBROTHER] Could not establish SQL connection. Disabling BigBrother
  59.  
  60. --
  61.  
  62. My MySQL version :
  63.  
  64. minecraft@omg:/home/minecraft/bukkit$ mysql --version
  65. mysql Ver 14.14 Distrib 5.1.55, for debian-linux-gnu (x86_64) using EditLine wrapper
  66.  
  67. --
  68.  
  69. The proof I can connect to MySQL using my login/pass
  70.  
  71. minecraft@omg:/home/minecraft/bukkit$ mysql -uminecraft -hlocalhost -p
  72. Enter password:
  73. Welcome to the MySQL monitor. Commands end with ; or \g.
  74. Your MySQL connection id is 167877
  75. Server version: 5.1.55-rel12.6 (Percona Server (GPL), 12.6 , Revision 200)
  76.  
  77. mysql> show databases;
  78. +--------------------+
  79. | Database |
  80. +--------------------+
  81. | information_schema |
  82. | minecraft |
  83. +--------------------+
  84. 2 rows in set (0,00 sec)
  85.  
  86. mysql> use minecraft;
  87. Reading table information for completion of table and column names
  88. You can turn off this feature to get a quicker startup with -A
  89.  
  90. Database changed
  91. mysql> show tables;
  92. +---------------------+
  93. | Tables_in_minecraft |
  94. +---------------------+
  95. | iBalances |
  96. | items |
  97. | jail_prisoners |
  98. | jail_zones |
  99. | logblock |
  100. | logblock-extra |
  101. | mcgroups |
  102. | mcrights |
  103. | mctemplateplugins |
  104. | mcusers |
  105. | settings |
  106. | users |
  107. +---------------------+
  108. 12 rows in set (0,00 sec)
  109.  
  110. mysql> WHY BIGBROTHER WON'T CONNECT FFS ?
Add Comment
Please, Sign In to add comment