[SOLVED] Mysql error.. Server() unable to initialize database

hi all,

I’m trying to start teamspeak with mariadb but somehow I could not connect to the database. it’s going to be a fresh start. no data in database.

server config;
Ubuntu 20.04
Mariadb 10.3

here is my config files;

ts3server.ini

default_voice_port=9987
voice_ip=0.0.0.0
licensepath=
filetransfer_port=30033
filetransfer_ip=0.0.0.0
query_port=10011
query_ip=0.0.0.0
dbplugin=ts3db_mariadb
dbpluginparameter=ts3db_mariadb.ini
dbsqlpath=sql/
dbsqlcreatepath=create_mariadb/
logpath=logs
logquerycommands=0
dbclientkeepdays=30
logappend=0
query_skipbruteforcecheck=0

ts3db_mariadb.ini

host=127.0.0.1
port=3306
username=username
password=password
database=databasename
socket=/run/mysqld/mysqld.sock

what is wrong here?

I made this change;

host=localhost

that’s it. working fine.