# Ensure database remote access is restricted

- Source: https://support.icompaas.com/support/solutions/articles/a_1796390903255447-ensure-database-remote-access-is-restricted
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [Hostinger](https://support.icompaas.com/support/solutions/c_1796390637084781) › [Hostinger Checks](https://support.icompaas.com/support/solutions/folders/f_1796390648370879)
- Last updated: 2026-12-04
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

**Description**

This check ensures that no MySQL database on a Hostinger hosting plan allows remote connections from any host. In Remote MySQL, the Any Host option adds the host % to the rule, which accepts connections from every IP address. Each hosting account is evaluated separately.

**Rationale**

A database that accepts connections from any IP address can be attacked directly with password guessing and exploits, bypassing the website. Allowing remote access only from specific, trusted IP addresses keeps the database out of reach of everyone else.

**Impact**

-   Remote tools or servers that connect from addresses not on the list will lose access; add each trusted IP address separately
    
-   Websites on the same hosting plan connect locally and are not affected
    

**Default Value**

Remote access is not allowed until a remote connection is created in Remote MySQL.

**Pre-Requisites**

-   Access to hPanel for the account that owns the hosting plan
    
-   The fixed IP addresses that need remote database access
    

**Remediation**

**Test Plan**

1.  Log in to hPanel at https://hpanel.hostinger.com.
    
2.  Go to Websites and click Dashboard next to the website.
    
3.  In the sidebar, select Databases → Remote MySQL.
    
4.  Review the list of remote connections. If any entry has the access host %, the check fails.
    
5.  Repeat for each hosting account.
    

**Implementation Steps**

1.  Log in to hPanel at https://hpanel.hostinger.com.
    
2.  Go to Websites and click Dashboard next to the website.
    
3.  In the sidebar, select Databases → Remote MySQL.
    
4.  If remote access is still needed, create a new connection: enter the trusted IP address in IP (IPv4 or IPv6), leave Any Host unticked, select the database and click Create. Repeat for each trusted address.
    
5.  Delete each connection with the access host %.
    
6.  Confirm that the trusted remote clients can still connect.
    

**Backout Plan**

1.  Log in to hPanel at https://hpanel.hostinger.com.
    
2.  Go to Websites and click Dashboard next to the website.
    
3.  In the sidebar, select Databases → Remote MySQL.
    
4.  Create a connection for the address that lost access, select the database and click Create.
    

**Note:** Do not restore Any Host (%); add the specific address that needs access instead.

**Reference**

-   [https://www.hostinger.com/support/1583546-how-to-set-up-remote-mysql-access](https://www.hostinger.com/support/1583546-how-to-set-up-remote-mysql-access)
