Can I reinstall/install Mariadb?

Can I reinstall/install Mariadb?
I think that I forgot to enable mariadb option
I can not run wordpress quick installation I see this error
Error: DB_SYSTEM is not enabled
How to solve this problem

Not knowing all the intricacies of HestiaCP guts and knobs apt install mariadb-client mariadb-common mariadb-server followed by editing /usr/local/hestia/conf/hestia.conf and changing from DB_SYSTEM=‘’ to DB_SYSTEM=‘mysql’ should get you started.

Before proceeding with any operation, check the Hestia logs, including those related to the database, to see if there are any errors. If you find anything, report it on the forum. This morning, I had a similar issue, and I had forgotten to install MariaDB. I used this script.

#!/bin/bash

# Update the system
apt update && apt upgrade -y

# Install MariaDB
apt install -y mariadb-server

# Start MariaDB and ensure it is running
systemctl start mariadb
systemctl enable mariadb

# Perform the initial configuration of MariaDB
mysql_secure_installation <<EOF

y
n
y
y
y
EOF

# Restart MariaDB to apply all changes
systemctl restart mariadb

# Show the status of the MariaDB service
systemctl status mariadb

# Display the MariaDB version to confirm installation
mysql --version```

Topic is over 1 year old …