masterofdesaster005
Schafhirte
Hallo,
Also ich möchte ja IConomy mit mysql verbinden aber bei url weiss ich nicht was ich da am besten angebe
Also ich habe die folgenden angaben gemacht:
Aber es verbindet sich nicht diese Fehlermeldung kommt:
Es gibt ja auch diese möglichkeit aber bei dieser kommt ein Kommunikations error:
Ich benutze IConomy7 und meine craftbukkit Build ist die 1.4.5-R0.2
Hoffe mit diesen Infos könnt ihr mir mehr helfen!
mfg master
Also ich möchte ja IConomy mit mysql verbinden aber bei url weiss ich nicht was ich da am besten angebe
Also ich habe die folgenden angaben gemacht:
Code:
Database:
# Databases Supported:
# Flatfile, FF, mini, minidb
# - These all equate to miniDB
##
# item, items, inventory, inventoryDB
# - These all equate to InventoryDB, which uses inventory for storage
##
# xp, exp, orb, xpdb, expdb, orbdb
# - These all equate to ExperienceDB, which relies on Experience for balance.
##
# mysql, mysqldb
# - These will attempt to connect to MySQL
##
# sqlite, sqlite2, sqlite3, sqlitedb
# - These will attempt to create & connect to SQLite
##
# postgre, postgreSQL, postgreDB
# - These will attempt to connect to PostgreSQL
Type: 'mysql'
# These are for InventoryDB only.
#
# InventoryDB is essentially Physical Money.
# It isn't logged in a database, its based on the users inventory
# and the two items selected below.
#
# MajorItem is the item or block ID of the major currency
# MinorItem is the item or block ID of the minor currency
# e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
MajorItem: 266
MinorItem: 265
# This controls the database name, by default it is iConomy
Table: 'Datenbankname'
# URL is for SQL Databases Only
##
# Path to iConomy folder is easy, it's the COMPLETE path.
# (Mine) G:\MineCraft\plugins\iConomy\
# Won't be the same as yours, but it usually looks like that.
##
# [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
# [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
##
# Binary Databases use ip:port style connections.
# ip
# - is the connection identifier (internet protocol)
# - for ipv6 usually encased in brackets [::1]
# port
# - the port that the database is listening on
# - defaults: 3306 for mysql, postgre is either 5740 or 5432
##
# [MySQL Default] mysql://localhost:3306/iConomy
# [Postgre Default] postgresql://localhost:5740/iConomy
URL: 'mysql.professional-gameserver.com'
# Login details for binary databases
Username: 'Username'
Password: 'Passwort'
##############################################################
# !!! Conversion is not your database settings !!!
##############################################################
# Conversion allows you to convert your old 5.x to the new 6.x
# All is currently unused.
##############################################################
# URL is for MySQL only, H2DB doesn't use it.
##############################################################
Conversion:
# Set to True, After converting, change this back to false!
Enabled: false
# Database Type, H2DB or MySQL
Type: 'H2DB'
# Database Table
Table: 'iConomy'
# Database URL without table at the end.
URL: 'mysql://localhost:3306'
# Username / Password
# H2DB does not use this. MySQL Only.
Username: 'root'
Password: ''
# Unused ATM.
All: true
Code:
[iConomy] Database Error: java.sql.SQLException: invalid database address: jdbc:mysql.professional-gameserver.com
Code:
URL: 'mysql://localhost:3306/Datenbankname'
Hoffe mit diesen Infos könnt ihr mir mehr helfen!
mfg master