Xauth нету конекта

  • Автор темы Автор темы General
  • Дата начала Дата начала

General

Старожил
Пользователь
Баллы
123
2011-10-21 21:09:28 [INFO] [xAuth] 'Permissions' v3.1.6 support enabled!
2011-10-21 21:09:28 [SEVERE] [xAuth] Could not connect to database! [DBMS = MYSQL]
java.sql.SQLException: Must specify port after ':' in connection string
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
at com.mysql.jdbc.NonRegisteringDriver.parseHostPortPair(NonRegisteringDriver.java:190)
at com.mysql.jdbc.NonRegisteringDriver.parseURL(NonRegisteringDriver.java:672)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:296)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.cypherx.xauth.database.Database.connect(Database.java:36)
at com.cypherx.xauth.xAuth.onEnable(xAuth.java:91)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
2011-10-21 21:09:28 [SEVERE] [xAuth] Disabling - No connection to database
2011-10-21 21:09:28 [INFO] [xAuth] v2.0b4.3 Disabled!
как исправить
вот что в конфиге

main:
# How should xAuth store data (Accounts, sessions, etc.)?
# Possible values: h2, mysql
datasource: mysql
# If set to true, xAuth will disable itself if the server is in online-mode
auto-disable: true
# If set to true, all required library files will be automatically downloaded
download-libraries: true
# When set to true, if a player connects with the same name as someone who is
# already online, the player connecting will be kicked instead of the online player
reverse-enforce-single-session: true

authurl:
# Send user/pass data to authURL for authentication instead of the database
# This option disables registration and password changes
enabled: false
# The URL to send user/pass data to, look at the example auth.php for an
# example that works with SMF forums.
url: http://127.0.0.1/auth.php?field=minecra

mysql:
# Location of the MySQL server. Can be either a host name or IP address
host: sql-3.zerver.ru
# Port used by MySQL. Default is 3306
port: 3306
# User name used to connect to the MySQL server
username: *******
# Password used to connect to the MySQL server
password: ********
# Name of the database that will be used by xAuth
database: ********
# Names of the tables xAuth will use to store data
tables:
account: accounts
session: sessions
strike: strikes
location: tele_locations
inventory: inventory
 
Назад
Верх Низ