运行MySQL时报错,System error 193 has occured. *** is not a valid Win32 application
net start mysql
System error 193 has occurred.
*** is not a valid Win32 application.
解决办法,regit找到如下路径
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>
查看服务是否配置有误,我这里看到的服务MySQL是:
ImagePath D:\MySQL\mysql-8.0.26-winx64\bin\mysqld MySQL
查看了网上别人的路径,发现少了.exe
D:\MySQL\mysql-8.0.26-winx64\bin\mysqld.exe MySQL