Stránka 1 z 1

FeatherBoard - MySQL

Napsal: 16 dub 2016, 07:55
od jakub1000
Server: IP:82.208.17.41:27423


Zdravím,
Asi 20 minut zkouším napojit plufin FeatherBoard na MySQL, ale stále je připojen na SQL...
Mohl bych poprosit o doplnění ?

Kód: Vybrat vše

database:
  # If you want the toggle to stay even when your users
  # log off you can enable this. Keep in mind that this requires a
  # MySQL or SQLite database.
  # If you are configuring the plugin for the first time it is advised
  # to stay away from these settings until you managed the scoreboard
  # set up.
  persistent: false
  # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
  # with isolation, url, driver, ...
  # Database name
  database: "featherboard"
  # Database username
  username: bukkit
  # Database isolation type
  isolation: SERIALIZABLE
  # Database driver
  driver: org.sqlite.JDBC
  # Database password
  password: walrus
  # Database driver URL
  # {DIR} will be replaced with the plugin directory
  # {NAME} will be replaced wit the plugin name
  url: jdbc:sqlite:{DIR}{NAME}.db
  # Save interval in ticks
  save-interval: 6000


Databáze : 216895_mysql_db
Heslo : *****

Moc Díky !
K+

Re: FeatherBoard - MySQL

Napsal: 16 dub 2016, 08:12
od MinfasCZE
Driver musíš změnit na MySQL, SQLite ti asi fungovat nebude

Re: FeatherBoard - MySQL

Napsal: 16 dub 2016, 08:16
od jakub1000
Takhle sem to nastavil a nefunguje to ...

Kód: Vybrat vše

database:
  # If you want the toggle to stay even when your users
  # log off you can enable this. Keep in mind that this requires a
  # MySQL or SQLite database.
  # If you are configuring the plugin for the first time it is advised
  # to stay away from these settings until you managed the scoreboard
  # set up.
  persistent: false
  # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
  # with isolation, url, driver, ...
  # Database name
  database: "216895_mysql_db" (zkoušel sem i FeatherBoard)
  # Database username
  username: 216895_mysql_db
  # Database isolation type
  isolation: SERIALIZABLE
  # Database driver
  driver: org.sqlite.JDBC
  # Database password
  password: *******
  # Database driver URL
  # {DIR} will be replaced with the plugin directory
  # {NAME} will be replaced wit the plugin name
  url: jdbc:mysql:{DIR}{NAME}.db
  # Save interval in ticks
  save-interval: 6000

Re: FeatherBoard - MySQL

Napsal: 16 dub 2016, 11:09
od Mysteria
Tak minimálně bude špatně driver: org.sqlite.JDBC, tam bude muset být něco jako com.mysql.jdbc.Driver. A URL pod tím se mi taky nezdá, že by byla OK.

Re: FeatherBoard - MySQL

Napsal: 16 dub 2016, 23:30
od ypxo
Můžeš zkusit tohle:

Kód: Vybrat vše

database:
  # If you want the toggle to stay even when your users
  # log off you can enable this. Keep in mind that this requires a
  # MySQL or SQLite database.
  # If you are configuring the plugin for the first time it is advised
  # to stay away from these settings until you managed the scoreboard
  # set up.
  persistent: false
  # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
  # with isolation, url, driver, ...
  # Database name
  database: "216895_mysql_db"
  # Database username
  username: 216895_mysql_db
  # Database isolation type
  isolation: SERIALIZABLE
  # Database driver
  driver: com.mysql.jdbc.Driver
  # Database password
  password: *******
  # Database driver URL
  # {DIR} will be replaced with the plugin directory
  # {NAME} will be replaced wit the plugin name
  url: jdbc:mysql://localhost:3306/
  # Save interval in ticks
  save-interval: 6000

Re: FeatherBoard - MySQL

Napsal: 17 dub 2016, 10:03
od jakub1000
Ani tohle nefunguje...
Tak asi napíšu autorovi...
Ale díky za snahu ! :D