Connect to your database
Use the host, port, name, user and password from the Victus panel Databases tab to connect from PHP, Node.js, Python or an external MySQL client.
Once you have created a database (see "Create a database"), you connect to it with the credentials shown in the Databases tab. The same five values — host, port, database name, username, password — work everywhere: framework config files, code, or a desktop client like MySQL Workbench, DBeaver or TablePlus.
Use the panel host, not localhost
Copy the exact host and port the Databases tab shows. Only use localhost if the panel explicitly indicates the database runs on the same host as your app.
From PHP
From Node.js
From Python
From an external client
- 1Open MySQL Workbench, DBeaver or TablePlus.
- 2Create a new MySQL connection using the host, port, user and password from the Databases tab.
- 3If the panel restricted the database to a specific host, edit its allowed-connections value to % (or your IP) before connecting remotely.
- 4Test the connection, then browse the database.
Connection refused or access denied?
Double-check host/port are the panel values (not localhost), that the password matches exactly (reset it if unsure), and that remote connections are allowed for that database. Access-denied almost always means a wrong user/password or the user is not permitted from your IP.