Running on ubuntu. Getting this error since yesterday: "Could not connect to mariadb server: Can't connect to MySQL server on '127.0.0.1' (107)". Already tried restoring an old, working database.

ts3server.ini
Code:
machine_id=
default_voice_port=9987
voice_ip=0.0.0.0
liscensepath=
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
ts3dbmaria.ini
Code:
[config]
host=127.0.0.1
port=3306
username=teamspeak
password=correctpassword
database=teamspeak
sudo netstat -tulpn
Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      713/mysqld

sudo service mysql status
Code:
 * /usr/bin/mysqladmin  Ver 9.1 Distrib 10.0.31-MariaDB, for debian-linux-gnu on x86_64
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.

Server version          10.0.31-MariaDB-1~precise
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/run/mysqld/mysqld.sock
Uptime:                 13 min 14 sec

Threads: 1  Questions: 89  Slow queries: 0  Opens: 15  Flush tables: 1  Open tables: 78  Queries per second avg: 0.112
mysql -u teamspeak -pcorrectpassword teamspeak works, so the password, username and database are correct. They haven't been changed for years, nor have above .ini files. Even tried to restore the database to a previous working mysqldump, but that doesn't fix it.

TS Server 3.2.0

Has anyone any idea how to fix this? Thanks in advance!