• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Remote MySQL Server Doesn't Work

John Weng

New Pleskian
I have an external MySQL server defined and confirmed that Plesk can successfully communicate with it. DB Webadmin has full access via the Plesk admin interface.

While WordPress installs fine via the local MySQL server, it persistently fails when attempt to use the external MySQL server.
Error: Installation of WordPress at http://eristest2.partners.org/ failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: mysql_connect(): Access denied for user 'eristest2'@'170.223.178.101' (using password: YES) in /usr/local/psa/var/apspackages/apscatalogW7i17t.zipa94a7315-73b7-07/cache/scripts/db-util.php on line 66 '. Error stream: 'PHP Warning: mysql_connect(): Access denied for user 'eristest2'@'170.223.178.101' (using password: YES) in /usr/local/psa/var/apspackages/apscatalogW7i17t.zipa94a7315-73b7-07/cache/scripts/db-util.php on line 66 '.

If I manually create the username and database first, then I'd get the following error
Error: Installation of WordPress at http://eristest2.partners.org/ failed. Database with requested name already exists

Appreciate any insight on this.

Thanks,
John
 
You shouldn't create database manually there. Just make sure that database user on this remote SQL server has "allow from all hosts" default permission.
 
Back
Top