My MySQL !!

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
DartenCZ
Příspěvky: 11
Registrován: 16 črc 2012, 17:31
Reputation: 0

My MySQL !!

#1 Příspěvekod DartenCZ » 29 lis 2012, 19:31

Server: IP:27710

Dobrý den , mám menší problém pretože sa mi nechce spraviť Tabulka na mySQL databázy !! Nechápem prečo ..
Mám pluginy :

1 Vec UltraBans plugin

#Change to MySQL for mysql support#
#Change to SQLite for sqlite support#
Database: MySQL
mysql-database: 'jdbc:mysql://localhost:3306/gs_27710_1'
mysql-user: 'gs_27710_1'
mysql-password: '---'
--------------------------------------------------------------------------------
2.Creative Controler plugin

Database:
## Enable MySQL? If false, will be used SQLite [No SQL Server required]
## The performance is much better with MySQL, SQLite is recomended to 20 player max [creative or not]
MySQL: true
host: localhost
port: 3306
user: gs_27710_1
pass: --
database: gs_27710_1
--------------------------------------------------------------------------------
3. logblock

mysql:
user: gs_27710_1
port: 3306
password: ---
host: localhost
database: gs_27710_1
--------------------------------------------------------------------------------
4.HawKeye

<?php
///////////////////////////////////////////////////
// HawkEye Interface Config File //
// by oliverw92 //
///////////////////////////////////////////////////
// Edit the config array below with your //
// details. Make sure all strings are //
// escaped. If you can't work this out, //
// ask in the thread on bukkit.org. //
///////////////////////////////////////////////////
$hawkConfig = array(
//Enter your MySQL database information
//Do not change 'dbTable'
"dbHost" => "clark.fakaheda.eu:3306",
"dbDbase" => "gs_27710_1",
"dbUser" => "gs_27710_1",
"dbPass" => "---",
"dbTable" => "hawkeye",

--------------------------------------------------------------------------------
Takto su nastavené !!
Len mám ten problém že sa mi nechce vytvoriť Tabulka !!
Ďakujem za pomoc .

Uživatelský avatar
Sejsel
Příspěvky: 4131
Registrován: 19 čer 2011, 09:43
Reputation: 0
Bydliště: /home/sejsel/
Kontaktovat uživatele:

Re: My MySQL !!

#2 Příspěvekod Sejsel » 29 lis 2012, 19:53

Tohle vše vypadá v pořádku. Co to píše do logu?
01101110011101010110001001110111

Uživatelský avatar
Shaggy84675
Příspěvky: 1239
Věk: 28
Registrován: 23 srp 2011, 12:53
Reputation: 0
Kontaktovat uživatele:

Re: My MySQL !!

#3 Příspěvekod Shaggy84675 » 30 lis 2012, 07:24

Máš ještě nějaké pluginy, které jsi na to napojoval a tabulka se jim vytvořila?
Omluvte prosím moji nefunkčnost podpisu. Momentálně přesouvám podpis na svůj webserver.

DartenCZ
Příspěvky: 11
Registrován: 16 črc 2012, 17:31
Reputation: 0

Re: My MySQL !!

#4 Příspěvekod DartenCZ » 04 pro 2012, 06:19

Nie,proste keď tam dám všeliakí plugin tak je problém ..
Pretože sa nevitvorí tabulka ..
Ja som vlastne stoho completní debil :D
Vobec to nechápem ..

Uživatelský avatar
nejento
Příspěvky: 9815
Registrován: 28 lis 2011, 14:09
Reputation: 55
Kontaktovat uživatele:

Re: My MySQL !!

#5 Příspěvekod nejento » 04 pro 2012, 15:39

Máš na serveru ještě nějaké pluginy u kterých jsi nastavoval MySQL databázi?

Potom ještě aby jsi sem dal server.log při startu serveru. Snadno server vypni, smaž server.log nas FTP a server zapni. Až server bude spuštěn, zkopíruj sem celý ten text co to sesumírovalo.
Když tam narazíš na nějaká hesla, tak je samozřejmě zakryj.
Obrázek

Obrázek Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: https://discord.fakaheda.eu/

eakethet
Příspěvky: 314
Registrován: 19 led 2012, 10:33
Reputation: 0

Re: My MySQL !!

#6 Příspěvekod eakethet » 04 pro 2012, 17:20

Jen připomínka, ten hawk neni plugin ale web interface.

DartenCZ
Příspěvky: 11
Registrován: 16 črc 2012, 17:31
Reputation: 0

Re: My MySQL !!

#7 Příspěvekod DartenCZ » 05 pro 2012, 19:04

2012-12-05 18:01:05 [SEVERE] [Ultrabans] Unable to retreive connection
java.sql.SQLException: invalid database address: clark.fakaheda.eu:3306
at org.sqlite.JDBC.createConnection(JDBC.java:74)
at org.sqlite.JDBC.connect(JDBC.java:64)
at java.sql.DriverManager.getConnection(DriverManager.java:579)
at java.sql.DriverManager.getConnection(DriverManager.java:190)
at com.modcrafting.ultrabans.db.SQL.getSQLConnection(SQL.java:49)
at com.modcrafting.ultrabans.db.SQL.setAddress(SQL.java:141)
at com.modcrafting.ultrabans.listeners.UltraBanPlayerListener.onPlayerJoin(UltraBanPlayerListener.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfigurationManagerAbstract.java:153)
at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:93)
at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:132)
at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:45)
at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595)
at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
2012-12-05 18:01:05 [SEVERE] Could not pass event PlayerJoinEvent to Ultrabans v2.0.1
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfigurationManagerAbstract.java:153)
at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:93)
at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:132)
at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:45)
at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595)
at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
Caused by: java.lang.NullPointerException
at com.modcrafting.ultrabans.db.SQL.setAddress(SQL.java:142)
at com.modcrafting.ultrabans.listeners.UltraBanPlayerListener.onPlayerJoin(UltraBanPlayerListener.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
... 14 more
2012-12-05 18:01:05 [SEVERE] Could not pass event PlayerJoinEvent to NoLagg v1.87.3
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfigurationManagerAbstract.java:153)
at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:93)
at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:132)
at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:45)
at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595)
at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.bergerkiller.bukkit.nolagg.chunks.ChunkSendQueue
at com.bergerkiller.bukkit.nolagg.chunks.NLCListener.onPlayerJoin(NLCListener.java:20)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
... 14 more



UltraBans !!

DartenCZ
Příspěvky: 11
Registrován: 16 črc 2012, 17:31
Reputation: 0

Re: My MySQL !!

#8 Příspěvekod DartenCZ » 05 pro 2012, 19:05

Tam sú samé Errory !!
Prosím vás čo mám spravi)t ?? :D
Preinštalovať ?

Uživatelský avatar
Naxmars
Příspěvky: 186
Registrován: 27 pro 2011, 21:45
Reputation: 0

Re: My MySQL !!

#9 Příspěvekod Naxmars » 05 pro 2012, 19:14

Vidím že se nedaří přihlásit se na databázi. Je možné že je adresa špatná, já to zkoumat nebudu, Každopádně pokud máš databázi na stejném serveru jako minecraft server, pak jako dbhost zadej localhost. Tím zaručíš správnost adresy
Majitel Minecraft serveru PapriCraft: 93.91.250.144:27842.
Přijďte si zahrát na Economy server...
Skype: ondramastik

Uživatelský avatar
Naxmars
Příspěvky: 186
Registrován: 27 pro 2011, 21:45
Reputation: 0

Re: My MySQL !!

#10 Příspěvekod Naxmars » 05 pro 2012, 19:15

"invalid database address: clark.fakaheda.eu:3306" je snad jasná zpráva o tom, co je špatně.
Majitel Minecraft serveru PapriCraft: 93.91.250.144:27842.
Přijďte si zahrát na Economy server...
Skype: ondramastik


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 93 hostů