• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

change the plesk mysql port 8306

WSecure

Basic Pleskian
hi all, thanks for reading!

I want to change the plesk mysql port 8306.

I did set the new port for MYSQL_PORT and MYSQL_DB_PORT under
HKEY_LOCAL_MACHINE\SOFTWARE\PLESK\PSA Config\Config
and also in the my.ini at
C:\Program Files (x86)\Parallels\Plesk\MySQL\Data
both with the same new value.

if I am logged in while switching the port, plesk will run, but I cannot lookup the installed applications.
if I relogin or if I try to access the page which displays all installed applications I get this result:

Internal error: [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '127.0.0.1' (10061)[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '127.0.0.1' (10061)

I have looked around to find a solution where to change the internal string for this db so it can connect, but didn't found anything, thats why I post here now.

anyone maybe knows a working solution?


regards
 
here a more detailed error msg...

ERROR: Exception
[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '127.0.0.1' (10061)[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '127.0.0.1' (10061)

Additionally, an exception has occurred while trying to report this error: Exception
[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '127.0.0.1' (10061)[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '127.0.0.1' (10061)

0: aps_php.php:8020
aps_controller_registry_getpackage(resource, string 'b4851054-b25d-421c-a694-e3aa73f9228b')
1: aps_php.php:8020
APS_Controller_Registry->getPackage(string 'b4851054-b25d-421c-a694-e3aa73f9228b')
2: Config.php:26
HelpDesk_Config::getHelpDeskInstances()
3: NavigationContext.php:356
NavigationContext->_fetchHelpDeskSectionNodes(object of type UserAdmin)
4: NavigationContext.php:210
NavigationContext->fetchCustomButtonsSectionNodes(object of type UserAdmin)
5: NavigationContext.php:75
NavigationContext->fetchSection(object of type UserAdmin, string 'custom_buttons', array)
6: NavigationContext.php:416
NavigationContext->get(object of type UserAdmin)
7: Navigation.php:562
Navigation->getContextMenu(object of type UserAdmin, object of type Skin)
8: left.php3:9
 
the weird is, I can access the login screen for plesk, but as soon as I login, I get the error msg from above.

so, there must be some other string somewhere, that tells the [MySQL][ODBC 3.51 Driver] to still connect to port 8306 instead of the new one. the only question is, where is this value set? can I find it in the registry or in a file?

help would be really appreciated, thanks!
 
Back
Top