Hi,
Kayece here, An Independent advisor and a user just like you. I will be happy to assist you today.
Can you screenshot the details of the error? Please click details on the lower left side of the error.
In the meantime, please try this troubleshooting below. If you already have MySQL installed.
*Uninstall mysql: control panel->programs and then uninstall the whole mysql.
*Delete the folder MySQL from the following path. Please permanently delete the folders below.
***C:\Program Files\MySQL
***C:\Program Files (x86)\MySQL
***C:\ProgramData\MySQL (Your program data folder might be hidden so you have to unhide it. From your C drive->views->options->view ->show hidden files)
***C:\Users\hp(your PC name)\AppData\Roaming\MySQL
*Please click the windows+R then write regedit.exe. Enter follow the path and delete mysql.
Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\
*Control panel->administrative tool->services then find mysql copy name then open cmd run as administrative write (sc Delete "mysql name that you copied") enter.
After the steps, install MySQL again.
Kayece
Stay Safe!
