• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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