Normally only the website on the same server connects to the database. If you need to connect from your own computer (for example with HeidiSQL or DBeaver) or from another server, you must allow your specific IP address.
Log in to cPanel – see the article “1.2. Logging in to cPanel”.
1Allow your IP address
In the “Databases” section of cPanel, open “Remote Database Access”. Enter the IP address you will connect from in the “Host” field and a comment in the “Comment” field (for example “Office”), and click “Add Host”.
You can find your IP address by searching for “what is my ip”.

2Manage the allowed addresses
The “Manage Access Hosts” section lists the allowed addresses. “Delete” removes an address, and “Update” saves the comment.

Security
- In the program, enter: server – your domain (if it is hosted with us), port – 3306, database and user name – with the prefix, password – the database user’s password. The user must be added to the database.
- A home internet IP address can change – then you need to add the new address again.
- Allow only a specific IP address. Do not enter “%” – it allows attempts from anywhere.
- When you no longer need remote access, delete the address (“Delete”).
- Create a separate user for remote access with only the privileges it needs – see the article “Database users: privileges and changing the password”.
- If the connection still fails after adding the IP address, write to us – include your IP address and the program you are connecting with.
If you run into any difficulties, just write to us and we will help. support@area.lv