Войти или зарегистрироваться
  • Вы находитесь в сообществе Rubukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на различные языки плагины наших коллег из других стран.

Подключение AuthMe к MySQL

Метки:
Теги Теги
authme mysql
Статус
Закрыто для дальнейших ответов.

DefaltMark

Активный участник
Пользователь
Баллы
66
Салам
У меня есть хостинг
  • Сервер
  • Дата-база
  • AuthMe
Хочу подключить AuthMe к MySQL пробовал сам не получилось


DataSource:
# What type of database do you want to use?
# Valid values: SQLITE, MYSQL, POSTGRESQL
backend: MYSQL
# Enable the database caching system, should be disabled on bungeecord environments
# or when a website integration is being used.
caching: true
# Database host address
mySQLHost: 188.127.241.193
# Database port
mySQLPort: '3306'
# Connect to MySQL database over SSL
mySQLUseSSL: true
# Verification of server's certificate.
# We would not recommend to set this option to false.
# Set this option to false at your own risk if and only if you know what you're doing
mySQLCheckServerCertificate: true
# Username to connect to the MySQL database
mySQLUsername: u3232_zEzd5uczty
# Password to connect to the MySQL database
mySQLPassword: 'ПАРОЛЬ'
# Database Name, use with converters or as SQLITE database name
mySQLDatabase: s3232_database
# 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
# Column for storing players passwords salts
mySQLColumnSalt: ''
# Column for storing players emails
mySQLColumnEmail: email
# Column for storing if a player is logged in or not
mySQLColumnLogged: isLogged
# Column for storing if a player has a valid session or not
mySQLColumnHasSession: hasSession
# Column for storing a player's TOTP key (for two-factor authentication)
mySQLtotpKey: totp
# Column for storing the player's last IP
mySQLColumnIp: ip
# Column for storing players lastlogins
mySQLColumnLastLogin: lastlogin
# Column storing the registration date
mySQLColumnRegisterDate: regdate
# Column for storing the IP address at the time of registration
mySQLColumnRegisterIp: regip
# 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
# Column for storing player LastLocation - Yaw
mySQLlastlocYaw: yaw
# Column for storing player LastLocation - Pitch
mySQLlastlocPitch: pitch
# Overrides the size of the DB Connection Pool, default = 10
poolSize: 10
# The maximum lifetime of a connection in the pool, default = 1800 seconds
# You should set this at least 30 seconds less than mysql server wait_timeout
maxLifetime: 1800
ExternalBoardOptions:
# Column for storing players groups
mySQLColumnGroup: ''
# -1 means disabled. If you want that only activated players
# can log into your server, you can set here the group number
# of unactivated users, needed for some forum/CMS support
nonActivedUserGroup: -1
# Other MySQL columns where we need to put the username (case-sensitive)
mySQLOtherUsernameColumns: []
# How much log2 rounds needed in BCrypt (do not change if you do not know what it does)
bCryptLog2Round: 10
# phpBB table prefix defined during the phpBB installation process
phpbbTablePrefix: phpbb_
# phpBB activated group ID; 2 is the default registered group defined by phpBB
phpbbActivatedGroupId: 2
# IP Board table prefix defined during the IP Board installation process
IPBTablePrefix: ipb_
# IP Board default group ID; 3 is the default registered group defined by IP Board
IPBActivatedGroupId: 3
# Xenforo table prefix defined during the Xenforo installation process
XFTablePrefix: xf_
# XenForo default group ID; 2 is the default registered group defined by Xenforo
XFActivatedGroupId: 2
# Wordpress prefix defined during WordPress installation
wordpressTablePrefix: wp_
 
Попробуй стабильную версию поставить вместо беты
а кук бы ЪуЪ
мне именно эта нужна
и типо он крашит по тому что к MySQL не может подключиться
а так работает
у меня тип просто вопрос как правельно настроить подключение
 
Хочу подключить AuthMe к MySQL пробовал сам не получилось
Перезагрузи сервер нормально. Никогда не используй /reload - некоторые плагины ломаются, из-за чего может произойти конец света локального масштаба.
 
Открой пользователю базы данных возможность подключаться из сети.
Код:
GRANT ALL ON database.* TO dbuser@'%' IDENTIFIED BY 'dbuserpassword';
FLUSH PRIVILEGES;
 
Последнее редактирование:
нихрена не понял
можно как то по проще и по подробней
я просто гугл устал крутить одно и тоже пишут
Очень иронично учитывая твою тему http://rubukkit.org/threads/nastrojka-plaginov-tex-admin.169726/ где ты пишешь что умеешь настраивать плагины.
Хочешь проще? Легко.
1. Береж деньги.
2. Даешь специалисту что бы он настроил
 
Статус
Закрыто для дальнейших ответов.

Поделиться этой страницей

Назад
Верх