MySQL

@Serializable
@SerialName(value = "mysql")
data class MySQL(val host: String = "localhost", val port: Int = 3306, val database: String = "mineauth", val username: String = "root", val password: String = "", val properties: Map<String, String> = mapOf( "useSSL" to "false", "autoReconnect" to "true" )) : DatabaseConfig

MySQL設定

Constructors

Link copied to clipboard
constructor(host: String = "localhost", port: Int = 3306, database: String = "mineauth", username: String = "root", password: String = "", properties: Map<String, String> = mapOf( "useSSL" to "false", "autoReconnect" to "true" ))

Properties

Link copied to clipboard

データベース名

Link copied to clipboard

MySQLホスト

Link copied to clipboard

パスワード

Link copied to clipboard
val port: Int

MySQLポート

Link copied to clipboard

JDBC接続プロパティ

Link copied to clipboard

ユーザー名