• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

WordPress Toolkit, and database cluster with ProxySQL

Maciej

New Pleskian
Hi,

I have in testing environment running Plesk Obsidian and db cluster (3 instances od Percona) with ProxySQL as external database. I want to use this as database for Wordpress instances.

Normally when I install WordPress on Plesk, system create mysql user, database and creates a database tables structure.
When I worked with ProxySQL, in ProxySQL database must be created the same user that in db cluster.
That means, before I install WP I need create the same user first on ProxySQL database, next on DB cluster.
Only users who is in ProxySQL database have access to DB cluster.

Is there any possibility to automatically create a user in ProxySQL simultaneously with creating a the same user in MySQL ?

regards
Maciej
 
@Maciej, I would attempt to automate this using Plesk's Event Handlers.

An event is triggered when a database user is created, modified or removed, among others, and the event parameters seem sufficient for the task.
 
Back
Top