• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

upgrade to Mariadb 10.11 now Wordpress only connects to DB on 127.0.0.1

akira9000

Basic Pleskian
Username:

TITLE

upgrade to Mariadb 10.11 now Wordpress only connects to DB on 127.0.0.1

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Alma 9.8, Plesk 18.0.78, Maria DB 10.11.18

PROBLEM DESCRIPTION

Upgraded Maria DB to 10.11.18 from the default 10.5.x that was on the machine. Used the built in Plesk GUI - not command line.

I have about 8 live Wordpress sites active.

Upgrade process said success.

Plesk responded no problem. Admin no problem. All wordpress sites show "error conneting to DB" warning in the borwser. The same message you see if you get the DB password wrong in wpconfig for example.

Changed from "localhost" to "127.0.0.1" in wpconfig and all sites behave normally.

STEPS TO REPRODUCE

Have done on a second machine today - exactly the same result.

ACTUAL RESULT

WP sites no longer connect to the DB with localhost. Have to use 127.0.0.1

Plesk admin no problem, machine behaves completely normally otherwise, allows reboots and mariadb restart etc. No lockups, just cant connect on localhost

EXPECTED RESULT

I just want my WP sites to use their exiating DB connection data

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Help with sorting out
 
Hi, @akira9000 . Has any customization been applied to SELinux on the server in question? Could you please provide the output from:

Code:
dnf list installed | grep selinux
ls -Z /usr/sbin/mariadbd
 
Back
Top