How to set the default database type when create new one?

I need both mysql and pgsql on my server, but on 99% of my website I need mysql
However, the default database type is set on pgsql when I create a new database.
Not a big deal, but I wonder if I can set by default mysql somewhere on hestia ?

Hi @Hedy,

Change order in hestia.conf file.

v-change-sys-config-value DB_SYSTEM "mysql,pgsql"

Maybe you should change it in defaults/hestia.conf too

sed -i  "s/DB_SYSTEM=.*/DB_SYSTEM='mysql,pgsql'/" "$HESTIA/conf/defaults/hestia.conf"
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.