Stránka 1 z 1

LWC - MySQL

Napsal: 06 čer 2014, 01:21
od MrFiliper
93.91.250.123:25567

Zdravím, mohu se zeptat proč mi nejde propojit lwc s databází? :) Přidávám core.yml

Kód: Vybrat vše

core:
    locale: cz
    flushInterval: 10
    cacheSize: 10000
    precache: -1
    showNotices: true
    showMyNotices: false
    opIsLWCAdmin: true
    disableHistory: false
    townyBorders: false
    groupPrefix: group.
    updateNotifier: false
optional:
    onlyProtectWhenOwnerIsOnline: false
    onlyProtectWhenOwnerIsOffline: false
    exemptBlocks: []
    optOut: false
    blacklistedBlocks:
    - '166'
    - '154'
    blacklistedPlayers:
    - plr
    useProtectionLimits: true
database:
    adapter: sqlite
    path: plugins/LWC/lwc.db
    host: localhost
    database: lwc
    username: '154890_mysql_db'
    password: 'heslo'
    prefix: lwc_
    ping_interval: 300
protections:
    denyRedstone: false
    denyHoppers: true
    autoRegister: false
    ignoreBlockDestruction: false
    ignoreLeftClick: false
    ignoreRightClick: false
    ignoreExplosions: false
    allowEntityBreakDoor: false
    allowEntityInteract: false
    quiet: false
    readonly-modify: false
    readonly-remove: false
    blocks:
        chest:
            enabled: true
        furnace:
            enabled: true
        dispenser:
            enabled: true
        sign:
            enabled: true
        wooden_door:
            enabled: true
        iron_door:
            enabled: true
        trap_door:
            enabled: true
        fence_gate:
            enabled: true
        trapped_chest:
            enabled: true
        ender_chest:
            enabled: true
        dropper:
            enabled: true
        dispenser:
            enabled: true
        button:
            enabled: true
        lever:
            enabled: true
modes:
    droptransfer:
        enabled: true
        crossWorld: false
    persist:
        enabled: true

Re: LWC - MySQL

Napsal: 06 čer 2014, 04:50
od LpBahos
najdi toto:

Kód: Vybrat vše

database:
    adapter: sqlite
    path: plugins/LWC/lwc.db
    host: localhost
    database: lwc
    username: '154890_mysql_db'
    password: 'heslo'
    prefix: lwc_
    ping_interval: 300

Dej tam toto

Kód: Vybrat vše

database:
    adapter: MySQL
    path: plugins/LWC/lwc.db
    host: localhost
    database: 154890_mysql_db
    username: '154890_mysql_db'
    password: 'heslo'
    prefix: lwc_
    ping_interval: 300

Re: LWC - MySQL

Napsal: 06 čer 2014, 14:52
od MrFiliper
Jj :D já si to myslel. Díky