Applicable to:
- Plesk for Windows
Symptoms
-
Installing Maria DB 11.4 from Plesk Installer output an error:
PLESK_ERROR: MSI: Error! Critical action 'Updating MariaDB Server component...' failed:
Command "C:\Program Files (x86)\Plesk\admin\bin\defpackagemng.exe" --set "--type=mysqlserver" "--default=mariadb114" failed with code 1. Output: Execute mysqlmng --repair-local-service failed with error code 1: Execute C:\Program Files\MariaDB 11.4\bin\mysql_install_db.exe "--datadir=N:\MySQL-Data" "--password=*" --silent failed[1]:
FATAL ERROR: Can't create data directory 'N:\MySQL-Data' (one or more intermediate directories do not exist) - Databases are stored on remote location.
Cause
Wrong path in MYSQL_DATA_D key in the registry database.
Resolution
-
Connect to the Plesk server via RDP.
-
Open Registry Editor in Start > Run and type regedit.
-
Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PLESK\PSA Config
- Check the
MYSQL_DATA_D
path and change it to your MySQL datadir (e.g:C:\Program Files\MariaDB 11.4\data
). - Run Plesk Installer again to install MariaDB.
Comments
0 comments
Please sign in to leave a comment.