MySQL Cluster安装出现cannot be found my-template.cnf

来源:互联网 发布:苹果网络加速器 编辑:程序博客网 时间:2024/05/23 00:55

当在windows上使用msi安装mysql,在安装后进行配置向导的时候会出现一些错误


1.cannot find my-template.cnf file

解决方式
 拷贝my-template.ini 文件从mySql 安装目录拷贝到bin目录

把my-template.ini  重命名为my-template.cnf


2.cannot start mysql service

解决方法

使用regedit打开注册表到:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services目录下,并且纠正mysql关联服务对应的.exe文件路径
如果问题没有解决打开注册表到HKEY_LOCAL_MACHINE\Software\MySQL AB\MySQL Server 5.5下面,并且纠正mysql关联服务对应的.exe文件路径


 
3.process terminated unexpectedly

解决方法

通过删除数据文件夹ib_logfile0 ib_logfile1 和ibdata1文件

创建mysql服务

,cmd

sc create service-name

删除mysql服务

cmd

sc delete service-name

原创粉丝点击