Applicable to:
- Plesk Obsidian for Windows
- Plesk for Windows
Symptoms
-
When trying to suspend a subscription the following error appears:
PLESK_ERROR: ERROR: 500
Error: Wrong parameters for PleskUserDBException([string $message [, long $code [, Throwable $previous = NULL]]]) (PleskException.php:629)<br />
<br><a href='?metaId=1c70a780cf43a3fbcf7a662d4a884c64&messageId=e1b56e6f90852ea93fc6d0650a2a22b5&file=PleskException.php&line=629&type=Error&version=18.0.26&message=Wrong+parameters+for+PleskUserDBException%28%5Bstring+%24message+%5B%2C+long+%24code+%5B%2C+Throwable+%24previous+%3D+NULL%5D%5D%5D%29' target='_blank'>Search for related Knowledge Base articles</a> -
The same error appears when navigating in Subscriptions > example.com > Databases or in Tools & Settings > Databases > click on MSSQL
-
When debug is enabled the following error can be found in
%plesk_dir%admin\logs\php_error.log
:CONFIG_TEXT: [2020-04-20 15:15:54] ERR [panel] Wrong parameters for PleskUserDBException([string $message [, long $code [, Throwable $previous = NULL]]]):
0: D:\Program Files (x86)\Parallels\Plesk\admin\plib\PleskException.php:629
Exception->__construct(string 'Failed to connect to the database server: SQLSTATE[IMSSP]: An unescaped right brace (}) was found in...', string 'IMSSP') - If remote database server's sa user has the "}" symbol in password, it is impossible to add such server at Tools & Settings > Database Servers:
PLESK_ERROR: Error: Connection to the database server has failed because of network problems: Try to establish connection failed
Cause
This is caused by a bug with ID PPPM-11872 which is planned to be fixed in future Plesk updates.
Resolution
Until it is fixed use below workaround:
- Login to the server via RDP.
- Download DatabaseManagerMSSQL.php and place it to
%plesk_dir%admin\plib folder
Comments
0 comments
Please sign in to leave a comment.