Cyberpanel Remote Database - Remote MYSQL Hostname - Server Error (500)

When setting up Cyberpanel to use a remote database should the “Remote MYSQL Hostname” be the Server/ Digitalocean droplet hostname or the Server IP address.

I have been following the tutorial here>>

It says hostname but looks like the tutorial is using an IP. I imagine it would be the server IP however I just get Server Error (500) so want to make sure this part is correct before I look at other possibilities. Can someone confirm, please?

Basically, the tutorial for me on clean Centos 8 install throws errors from the very beginning, I did find a work around but maybe I should wait until the tutorial is updated.

dnf install mariadb-server mariadb-client
DigitalOcean Agent 70 kB/s | 3.3 kB 00:00
MariaDB Server 32 kB/s | 2.9 kB 00:00
MariaDB MaxScale 2.1 kB/s | 2.4 kB 00:01
MariaDB Tools 49 kB/s | 2.9 kB 00:00
Package MariaDB-server-10.5.8-1.el8.x86_64 is already installed.
No match for argument: mariadb-client

  • Maybe you meant: MariaDB-client
    Error: Unable to find a match: mariadb-client

The answer was already in the console response, who would have thought it was case sensitive!

so this is the line from the tutorial which doesn’t work.
dnf install mariadb-server mariadb-client

However this does work.
dnf install mariadb-server MariaDB-client

Can anyone point me at a tutorial that actually works please

Admin you may as well delete this post.