• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

After using Plesk to upgrade Mariadb from 10.5 to 10.11 Wordpress and other apps can no longer connect to 'localhost'

efisher@

New Pleskian
Username:

TITLE

After using Plesk to upgrade Mariadb from 10.5 to 10.11 Wordpress and other apps can no longer connect to 'localhost'

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk 18.0.58, Almalinux 9.3, x86_64

PROBLEM DESCRIPTION

I know I took a big risk to use the new beta feature in Plesk that juust released to upgrade my Mariadb instance to the latest, 10.11. All went well, but afterwards, Wordpress is no longer able to connect to 'localhost' for the database.

If I change the DB_HOST to the host name or to 127.0.0.1 it works fine. I know that 'localhost' has a special meaning to MySQL derivatives, but not sure what would have changed between 10.5 and 10.11 to break Wordpress connecting to 'localhost'.

STEPS TO REPRODUCE

Upgrade Mariadb from 10.5 to 10.11 using new 'beta' feature in Plesk

ACTUAL RESULT

After upgrade, Wordpess gives a permission denied error connecting to the database.

EXPECTED RESULT

Permission should be granted to both localhost and 127.0.0.1

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Help with sorting out
 
Back
Top