• 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.

Issue Database users for Google Cloud SQL do not have permissions for database

I've just added a Google Cloud SQL server to my Plesk install, got a couple of apps with very heavy DB usage that I'm going to offload. Copying the databases to Google Cloud via the Plesk interface works very well, I can also add a user which is then passed across to Google Cloud no problem.

When testing this with a simple WordPress site, I get the following database error:
  • We were able to connect to the database server (which means your username and password is okay) but not able to select the wordpress_666_gc database.
If I use the root login for the Google Cloud SQL cluster it works fine. If I delete the user in Google Cloud SQL and re-add the user with the same username and password as created in Plesk it also works. After this last step if I edit the database user after this last step I find that the role dropdown is set to Custom and all of the privileges are not ticked. If I save the database user I am unable to connect again.

I feel like there are some permissions needed on Google Cloud that are not being set by Plesk and are not available in the interface

In case it's relevant mysql --version gives me:

Code:
mysql  Ver 15.1 Distrib 10.3.23-MariaDB, for Linux (x86_64) using readline 5.1

And the Google Cloud SQL is using MySQL v8.
 
Perhaps the problem is that this MySQL version is not yet supported in Plesk: Software Requirements for Plesk Obsidian
Ah yes OK, seems likely, I will test with another version on Google Cloud.

I'm interested in why this seems to be the only issue that I've come across and once the user is created manually on GC it seems to work fine. I'm wondering if it's because the version of php I'm using and the WordPress SQL queries happen to work with MySQL 8 and Plesk isn't directly involved when the application actually runs? VS. managing the databases and users being a Plesk activity?
 
Back
Top