Knowledge Base
Connecting to your database
You need the host, port, database name, username and password from the Databases page, see Accessing your database.
- From a program on your server: use the host in the details. Servers on the same node can be reached this way.
- From your computer: use a client such as HeidiSQL or DBeaver, with the same details. You may need to add your IP to the allowed addresses.
- From code: build a connection string, for example
mysql://user:password@host:3306/dbname.
Cannot connect? See Troubleshooting database connections.