• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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