Stránka 1 z 1

authme mysql

Napsal: 01 kvě 2017, 16:05
od pitilon@seznam.cz
82.208.17.25:27183
Napojil jsem authme na mysql a píše mi v konzoli

Kód: Vybrat vše

[16:03:30 WARN]: [AuthMe] Aborting initialization of AuthMe: [ParserException]: while parsing a block mapping
in 'reader', line 4, column 5:
backend: 'mysql'
^
expected <block end>, but found Scalar
in 'reader', line 14, column 21:
mySQLPassword: '*******'
^
 
a nezapne server nastavení (začátek):

Kód: Vybrat vše

DataSource:
    # What type of database do you want to use?
    # Valid values: sqlite, mysql
    backend: 'mysql'
    # Enable database caching, should improve database performance
    caching: true
    # Database host address
    mySQLHost: '82.208.17.25'
    # Database port
    mySQLPort: '3306'
    # Username about Database Connection Infos
    mySQLUsername: '231077_mysql_db
    # Password about Database Connection Infos
    mySQLPassword: '*********'
    # Database Name, use with converters or as SQLITE database name
    mySQLDatabase: '231077_mysql_db'
    # Table of the database
    mySQLTablename: 'authme'
    # Column of IDs to sort data
    mySQLColumnId: 'id'
    # Column for storing or checking players nickname
    mySQLColumnName: 'username'
    # Column for storing or checking players RealName
    mySQLRealName: 'realname'
    # Column for storing players passwords
    mySQLColumnPassword: 'password'
    # Request mysql over SSL
    mySQLUseSSL: true
    # Column for storing players emails
    mySQLColumnEmail: 'email'
    # Column for storing if a player is logged in or not
    mySQLColumnLogged: 'isLogged'
    # Column for storing players ips
    mySQLColumnIp: 'ip'
    # Column for storing players lastlogins
    mySQLColumnLastLogin: 'lastlogin'
    # Column for storing player LastLocation - X
    mySQLlastlocX: 'x'
    # Column for storing player LastLocation - Y
    mySQLlastlocY: 'y'
    # Column for storing player LastLocation - Z
    mySQLlastlocZ: 'z'
    # Column for storing player LastLocation - World Name
    mySQLlastlocWorld: 'world'
    # Overrides the size of the DB Connection Pool, -1 = Auto
    poolSize: -1
v čem mohu mít chybu?

Re: authme mysql

Napsal: 01 kvě 2017, 17:37
od NEZNAMY
mySQLUsername: '231077_mysql_db


Chýba ' na konci

Inak je to v tom errore aj napísané.

Re: authme mysql

Napsal: 01 kvě 2017, 18:14
od pitilon@seznam.cz
aha já jsem kojot.. díky nevšiml jsem si toho..

Re: authme mysql

Napsal: 01 kvě 2017, 18:22
od pitilon@seznam.cz
Již jsem chybu opravil authme již šlape, ale když dám restart a potom /authme conv sqlitetosql tak to chce register..