Merhabalar authme için mysql kurulumu yapıyordum fakat garip bir sorunla karşı karşıyayım bir kaç yerde araştırıp benimle aynı sorunu yaşayan kişilerin olduğunu gördüm
Ama çözümü bir türlü bulamadım yardımcı olursanız sevinirim.
Aldığım hata
Configi defalarca kontrol ettim fakat hiçbir sıkıntı yok herşey kurulu olduğundan eminim.
Ama çözümü bir türlü bulamadım yardımcı olursanız sevinirim.
Aldığım hata
Kod:
[21:04:09] [Server thread/INFO]: [AuthMe] Connection arguments loaded, Hikari ConnectionPool ready!
[21:04:09] [Server thread/WARN]: [Server thread] INFO fr.xephi.authme.libs.zaxxer.hikari.HikariDataSource - AuthMeMYSQLPool - Started.
[21:04:30] [Server thread/WARN]: [AuthMe] Could not create data source: [PoolInitializationException]: Failed to initialize pool: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
[21:04:30] [Server thread/WARN]: [AuthMe] Aborting initialization of AuthMe: [IllegalStateException]: Error during initialization of data source
[21:04:30] [Server thread/INFO]: [AuthMe] Waiting for 0 tasks to finish
[21:04:30] [Server thread/INFO]: [AuthMe] AuthMe 5.2-b1542 disabled!
Configi defalarca kontrol ettim fakat hiçbir sıkıntı yok herşey kurulu olduğundan eminim.
Kod:
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: 'localhost'
# Database port
mySQLPort: '3306'
# Username about Database Connection Infos
mySQLUsername: 'xxxxxx_authme'
# Password about Database Connection Infos
mySQLPassword: 'mysqlşifrem'
# Database Name, use with converters or as SQLITE database name
mySQLDatabase: 'xxxxxx_authme'
# 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