Home  >  Article  >  Database  >  MySQL启动提示1067 错误的解决

MySQL启动提示1067 错误的解决

WBOY
WBOYOriginal
2016-06-07 16:51:261238browse

今天在重新安装MySQL服务的时候遇到如下错误:C:\Program Files\MySQL\MySQL Server 4.1\bingt;MySQLd-nt --removeService successfully r

Linux公社

首页 → 数据库技术

背景:

阅读新闻

MySQL启动提示1067 错误的解决

[日期:2008-03-12] 来源:Linux公社  作者:MySQL [字体:]

今天在重新安装MySQL服务的时候遇到如下错误:

C:\Program Files\MySQL\MySQL Server 4.1\bin>MySQLd-nt --remove
Service successfully removed.

C:\Program Files\MySQL\MySQL Server 4.1\bin>MySQLd-nt --install
Service successfully installed.

C:\Program Files\MySQL\MySQL Server 4.1\bin>net start MySQL
The MySQL service is starting.
The MySQL service could not be started.

A system error has occurred.

System error 1067 has occurred.

The process terminated unexpectedly.

发现一种最简单的方法:把MySQL目录下的my.ini copy到C:\WINDOWS中,,再重新安装服务问题解决:

C:\Program Files\MySQL\MySQL Server 4.1>copy my.ini c:\WINDOWS\
1 file(s) copied.

C:\Program Files\MySQL\MySQL Server 4.1>MySQLd-nt --remove
Service successfully removed.

C:\Program Files\MySQL\MySQL Server 4.1>MySQLd-nt --install
Service successfully installed.

C:\Program Files\MySQL\MySQL Server 4.1>net start MySQL
The MySQL service is starting.
The MySQL service was started successfully.

网上有人给出了另外一个解决方法,比较麻烦,相信也是可行的:

把MySQL目录copy到c:\MySQL
copy my.ini到C:\WINDOWS目录
修改my.ini中basedir和datadir参数
重新install MySQL service

谁不嫌麻烦可以试一下。 

linux

  • 0
  • 新建Oracle数据库三种方法

    Linux下查询MySQL大量数据时的分页技巧

    相关资讯       mysql技巧 

    图片资讯      

    本文评论   查看全部评论 (0)

    评论声明

    最新资讯

    本周热门

    Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
    本站(LinuxIDC)所刊载文章不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。


    Copyright © 2006-2011 Linux公社 All rights reserved 浙ICP备06018118号

    Statement:
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn