We had a server meltdown, running Debian 10, new server is now under Debian 12. MySQL seems to have disappeared and we are now running Maria. I updated the INI file for the new server ip and changed the dbplugin to ts3db_maria, but to be honest, I am not sure exactly what to do next.
I am not a strong linux type person, can someone please point me in the right direction to convert the database?
This guide is mainly based on Tutorial - How to Transfer SQLite to MariaDB
→ Steps 1-5: Still applicable (backup, stop TeamSpeak, create database).
→ Steps 6-8: Not applicable. These specifically export and convert SQLite data.
→ Step 9: You can import a MySQL dump instead.
→ Steps 10-17: Mostly relevant to configuring TeamSpeak to use MariaDB.
1. Stop TeamSpeak
sudo systemctl stop teamspeak
2. Back up your MySQL database
mysqldump -u root -p ts3 > backup.sql
Replace ts3 with your database name. Keep this backup safe!
3. Install MariaDB
sudo apt update
sudo apt install mariadb-server
Start MariaDB:
sudo systemctl enable --now mariadb
4. Create a new database
Open MariaDB:
sudo mariadb
Execute:
CREATE DATABASE ts3;
CREATE USER 'teamspeak'@'127.0.0.1' IDENTIFIED BY 'YOUR_PASSWORD';
GRANT ALL PRIVILEGES ON ts3.* TO 'teamspeak'@'127.0.0.1';
EXIT;