Skip to content

mssql database

mtanksl edited this page Jan 29, 2025 · 2 revisions

Introduction

Edit the \mtanksl.OpenTibia.GameData\data\server\config.lua file to set the database type to mssql. Then set the host, port, user, password and name. Or use custom connection string setting overrideconnectionstring property with string value.

The DDL file is in \mtanksl.OpenTibia.Data.MsSql\structure.sql.

Example

server = {
	...
	database = {
		type = "mssql",
		...
		host = ".\\SQL2017",
		port = 1433,
		user = "sa",
		password = "",
		name = "mtots"
	}
}