binlog功能是否有问题:修改my.ini后查询仍是OFF状态
mysql的服务启动有问题
windows下执行service mysql start,出现以下报错:
C:\WINDOWS\system32>service mysql start
The tomcat9.exe was not found...
The CATALINA_HOME environment variable is not defined correctly.
This environment variable is needed to run this program
Tomcat环境配置有问题
Failed installing ‘Tomcat9’ service
删除tomcat再在bin目录下执行service.bat install,建议将tomcat在服务里设置为自启动
service mysql start出错:Unknown parameter “mysql”
Usage: service.bat install/remove [service_name] [/user username]
其实不必要一定执行service mysql start来启动mysql服务,若你的mysql已然在系统的服务列表中,手动或自动启动就好了
至此,解决