Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Setting Up Custom Access Rules

 
reseller guidewebsite databaseswebsite managementdatabasefirewall

Usually, remote access to Plesk databases is allowed by default from any
computer. For security reasons, you can allow access only from a
specific IP address (for example, for applications running on a remote
computer and working with a database hosted on the Plesk server).

You can also prohibit remote access altogether (for example, if the
application that works with a Plesk database is running on the Plesk
server).

The access control settings are specified individually for Plesk
database users. To make your settings work, the application must use the
credentials of the appropriate database user for accessing the database.

Note: The options described below are displayed only if your subscription
is granted the permission Remote access for database users. In
addition, if you use PostgreSQL or SQL Server, the Plesk firewall
must be switched on by your hosting provider.

Setting Up Access to MySQL Databases

For MySQL database users, the remote access is controlled by MySQL
native security mechanism - access control lists (ACL). Your custom
settings are added to the MySQL access control lists.

To specify the access settings for a MySQL user:

  1. For an existing user, go to Databases > Users > select a user
    > Access Control group of options. For a new user, go to
    Databases > Users > Add Database User > the Access
    Control
    group of options.

    Alternatively, you can set up access control when creating a database
    if you create a user at the same time as creating the database:
    Databases > Add a Database > Create a database user.

  2. Use one of the following options to control the remote access to the
    database on behalf of this database user:

    • Allow local connections only. Select to allow access from the
      localhost only.
    • Allow remote connections from any host. Select to allow access
      from any server, including the localhost and IP addresses of the
      Plesk server.
    • Allow remote connections from (the specified hosts). Select to
      allow access from the specified host names or IP addresses. Note
      that local connections will be allowed too.
  3. If Plesk employs a firewall, you can see the corresponding message
    below the Access control options. You will need to contact your
    hosting provider to confirm that the firewall allows remote
    connections to MySQL.

    If the Plesk firewall prohibits remote incoming connections to MySQL,
    then custom access control settings will not work.

<h2 class="…

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Plesk with Centralized Database and Network File System

Read More »

WordPress Firewall – Why Do You Need One?

Read More »

Wordfence vs Sucuri – WordPress Security Plugins Comparison

Read More »
Knowledge Base

IIS Web Server Settings – Directory Security Settings

Read More »

Using remote Git hosting – Use Webhooks for Automatic Pull

Read More »

Using remote Git hosting – Rename or Remove a Repository

Read More »

Hosting Types – Forwarding

Read More »

Hosting Wiki

  • Content Security Policy ( CSP )
  • Server Redundancy
  • PostgreSQL
  • Bare Metal Server
  • MySQL
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • JavaScript
  • MSSQL
  • SQL
  • Hosting Control Panel
  • Plesk
  • SQL database
  • NoSQL Database
  • Web Server
  • DNS Server
  • IPv6
  • IPv4
  • SIP
  • UDP/IP
  • Firewall
  • Colocation Hosting
  • Reseller Hosting
  • Cloud Hosting
  • VPS Hosting
  • Dedicated Hosting
  • Shared Hosting
  • Free Hosting
  • Managed Hosting
  • TCP/IP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family