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

PleskSQLServer (MariaDB or MySQL) is not starting on Plesk server after Acronis Cyber Protect involvement: “Can’t find file: ‘.mysqldb.MAI'”

 
acronisantivirusdbiplocal environment

Symptoms

  • PleskSQLServer (MariaDB or MySQL) does not start after upgrade on a server where Acronis Cyber Protect is installed and running

  • An attempt to enter the Plesk GUI results in the following error:

    Server Error
    500 PleskExceptionDatabase
    DB query failed: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it
    Type PleskExceptionDatabase
    Message DB query failed: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it
    File Mysql.php
    Line 79

  • An attempt to run the Plesk login command in Command-Prompt results in the following output:

    C:> C:UsersAdministrator>plesk login
    DB query failed: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it

    exit status 1

  • The Plesk SQL Server is displayed as not running in the Plesk Services Monitor:

  • An attempt to restart the Plesk SQL Server via the Plesk Services Monitor results in the following error:

    Incorrect function. (Error code 1) at Start service PleskSQLServer
    at (service:::startStopService line 997)

  • The error logs at %plesk_dir%MySQLData<example>.err display errors that are similar to the following:

    2024-06-14 12:48:46 0 [ERROR] Could not open mysql.plugin table: "Can't find file: '.mysqlplugin.MAI' (errno: 2 "No such file or directory")". Some plugins may be not loaded
    2024-06-14 12:48:46 0 [ERROR] Can't open and lock privilege tables: Can't find file: '.mysqlservers.MAI' (errno: 2 "No such file or directory")
    2024-06-14 12:48:46 0 [Note] Server socket created on IP: '::'.
    2024-06-14 12:48:46 0 [Note] Server socket created on IP: '0.0.0.0'.
    2024-06-14 12:48:46 0 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: '.mysqldb.MAI' (errno: 2 "No such file or directory")
    2024-06-14 12:48:46 0 [ERROR] Aborting

  • The following Acronis processes can be seen as running in the Task Manager:
  • The following notification from Acronis Cyber Protect may pop up on the right of your Windows taskbar

    cyberprotect.png

Cause

The %plesk_dir%MySQLbinmysqld.exe file is false-positively quarantined as ransomware by Acronis Cyber Protect, due to which some of the crucial files within the %plesk_dir%MySQL directories have gone missing (most commonly .mysqlplugin.MAI and .mysqlservers.MAI and this prevents Plesk SQL Server from starting.

The issue has already been addressed on the side of Acronis Cyber Protect via its 24.4 update.

Resolution

For any servers that are already affected by this issue, you must execute the following steps:

1. Whitelist the following binaries locations in the local environment protection plan(s) in Acronis Cyber Protect console:

  • "%plesk_dir%MySQLbinmysqld.exe" (or the equivalent full path such as C:Program Files (x86)PleskMySQLbinmysqld.exe) as trusted Process.
  • "%plesk_dir%MySQL" (or the equivalent full path such as C:Program Files (x86)PleskMySQL) as trusted Folder.

    Note: You may also want to add all Plesk-related directories as exclusions to your antivirus software scanner by using the information in the Which directories should be added to antivirus exclusion on a Plesk for Windows server? article

2. Reinitialize PleskSQLServer as described in the Re-initialize PleskSQLServer section of the How to fix InnoDB corruption cases for the MySQL/MariaDB databases on Plesk for Windows article.

3. Update your…

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

Plesk with Centralized Database and Network File System

Read More »

Full Site Check now scans for Google Fonts

Read More »

Server Management: IP Mapping Guideline

Read More »
Knowledge Base

Plesk for Windows Server shows the error: Access denied for user ‘admin’@’localhost’ (using password: YES)

Read More »

Plesk update fails: InnoDB: corrupted TRX_NO 801000004325c92

Read More »

Which MariaDB versions are supported by Plesk?

Read More »

mssqlmng.exe, DNSMng.exe, php.exe and pmm-ras.exe are marked as infected by Microsoft Security / Windows Defender

Read More »

Hosting Wiki

  • DBMS Interface
  • DB2
  • Server Redundancy
  • DBMS
  • PostgreSQL
  • Bare Metal Server
  • MySQL
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • JavaScript
  • IBM DB2
  • MSSQL
  • ODBC
  • MongoDB
  • DBA
  • SQL
  • Plesk
  • SQL database
  • NoSQL Database
  • Web Server
  • DNS Server
  • IPv6
  • IPv4
  • SIP
  • UDP/IP
  • Email Virus Protection
  • 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