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

Plesk and websites are inaccessible after updating Plesk to Obsidian 18.0.43 on RHEL 8-based OS: DB query failed: SQLSTATE[HY000] [2002] No such file or directory

 
2022almalinuxbackupcommunitydatabase

Symptoms

  • The following error appears after updating Plesk to Obsidian 18.0.43 on RHEL/AlmaLinux/Rocky Linux 8:

    Server Error
    500 PleskExceptionDatabase
    DB query failed: SQLSTATE[HY000] [2002] No such file or directory

  • MariaDB service cannot be started after upgrade:

    systemd[1]: mariadb.service: Main process exited, code=exited, status=7/NOTRUNNING
    systemd[1]: mariadb.service: Failed with result 'exit-code'.
    systemd[1]: Failed to start MariaDB 10.3 database server.

  • MySQL community server was installed previously.

Cause

Product issue:

  • #PPPM-13514 "Updating Plesk to version 18.0.43 no longer fails when MySQL Community Server is used."

    Fixed in:

    • Plesk Obsidian 15 April 2022 (Linux)

Resolution

Please consider updating your server:

  • How to install Plesk updates

Workaround

If update is not possible for some reason you may try the following

workaround

  1. Connect to the server using SSH.
  2. Back up all the MySQL data storage files. By default, they are located in the directory /var/lib/mysql/.

    For example:

    # cp -a /var/lib/mysql /root/mysql_backup

  3. Remove MariaDB packages:

    # rpm -e --nodeps mariadb-3:10.3.28-1.module_el8.3.0+2177+7adc332a.x86_64
    # rpm -e --nodeps mariadb-backup-3:10.3.28-1.module_el8.3.0+2177+7adc332a.x86_64
    # rpm -e --nodeps mariadb-common-3:10.3.28-1.module_el8.3.0+2177+7adc332a.x86_64
    # rpm -e --nodeps mariadb-errmsg-3:10.3.28-1.module_el8.3.0+2177+7adc332a.x86_64
    # rpm -e --nodeps mariadb-gssapi-server-3:10.3.28-1.module_el8.3.0+2177+7adc332a.x86_64
    # rpm -e --nodeps mariadb-server-3:10.3.28-1.module_el8.3.0+2177+7adc332a.x86_64
    # rpm -e --nodeps mariadb-server-utils-3:10.3.28-1.module_el8.3.0+2177+7adc332a.x86_64

  4. Install MySQL server community:

    # yum install mysql-server-8.0.26-1.module_el8.4.0+2532+b8928c02.x86_64
    # yum install http://autoinstall.plesk.com/PSA_18.0.42/dist-rpm-RedHat-el8-x86_64/contrib/plesk-mysql-server-community-18.0-2.redhat.8+p18.0.42.0+t220211.2259.noarch.rpm

  5. Start MySQL Server:

    # systemctl start mysqld

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

You Are Always Safe When You Have an Up-To-Date Plesk Backup

Read More »

Plesk with Centralized Database and Network File System

Read More »

Recommended OSs for Plesk

Read More »
Knowledge Base

Domain’s page cannot be open in Plesk with error: TypeError: Cannot read properties of null (reading ‘id’)

Read More »

Horde databases in Plesk are not recreated after reinstallation: DB query failed: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘horde.TABLE_NAME’ doesn’t exist

Read More »

How to upgrade MySQL 5.5 to 5.6/5.7 or MariaDB 5.5 to 10.x on Linux

Read More »

In Plesk, dumps of MySQL/MariaDB databases with DEFINERs/TRIGGERs are exported with incorrect syntax of queries that should create DEFINERs/TRIGGERs

Read More »

Hosting Wiki

  • Cross Site Request Forgery (CSRF)
  • Cross-Origin Resource Sharing (CORS)
  • DBMS Interface
  • DB2
  • Server Redundancy
  • DBMS
  • Postfix
  • Linux Containers
  • PostgreSQL
  • DDoS
  • Bare Metal Server
  • Backup
  • MySQL
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • IBM DB2
  • ODBC
  • MongoDB
  • DBA
  • SQL
  • Hosting Control Panel
  • Plesk
  • SQL database
  • NoSQL Database
  • Web Server
  • DNS Server
  • SSH
  • Colocation Hosting
  • Reseller Hosting
  • Cloud Hosting
  • VPS Hosting
  • Dedicated Hosting
  • Shared Hosting
  • Free Hosting
  • Managed Hosting
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