| 订阅 | 在线投稿
分享
 
 
 

Mysql服务无法启动的1067错误解决

2008-11-21 07:28:14  编辑来源:互联网  宽屏版  评论

本文为【Mysql服务无法启动的1067错误解决】的汉字拼音对照版显示拼音

wulunanzhuanghebanbendemysqlzaiguanligongjudefuwuzhongqidongmysqlfuwushidouhuizaizhongtubaocuoneirongweizai bendijisuanji wufaqidongmysqlfuwu cuowu1067jinchengyiwaizhongzhi

jingguoduofangqiujiaodejiejuefangfaruxia

chazhaoxitong(houlaiyanzhengyinggaiweiwindowsmulu)muluxiademy.iniwenjianbianjineirongruguomeiyougaiwenjianzexinjianyigezhishaobaohanbasedirdatadirzhelianggejibendepeizhi

[mysqld]

# set basedir to installation path, e.g., c:/mysql

# shezhiweiMYSQLdeanzhuangmulu

basedir=D:/www/WebServer/MySQL

# set datadir to location of data directory,

# e.g., c:/mysql/data or d:/mydata/data

# shezhiweiMYSQLdeshujumulu

datadir=D:/www/WebServer/MySQL/data

lingwaiyaozhuyi

[WinMySQLadmin]

Server=D:/www/WebServer/MySQL/bin/mysqld-nt.exe

user=root

password=xxxxxxxx

#yishangshishezhiWinMySQLadmindepeizhi

[Client]

user=root

password=xxxxxxxx

hehe~ :) jiejuele

my.ini wenjianneirongruxia.wozijigaide,jiuhaole,heihei

[mysqld]

# set basedir to installation path, e.g., D:/mysql

# shezhiweiMYSQLdeanzhuangmulu

basedir=D:/mysql

# set datadir to location of data directory,

# e.g., d:/mysql/data or d:/mysql/mydata/data

# shezhiweiMYSQLdeshujumulu

datadir=D:/MySQL/data

原文
  无论安装何版本的mysql,在管理工具的服务中启动mysql服务时都会在中途报错。内容为:在 本地计算机 无法启动mysql服务 错误1067:进程意外中止。   经过多方求教,得解决方法如下   查找系统(后来验证应该为windows目录)目录下的my.ini文件,编辑内容(如果没有该文件,则新建一个),至少包含basedir,datadir这两个基本的配置。   [mysqld]   # set basedir to installation path, e.g., c:/mysql   # 设置为MYSQL的安装目录   basedir=D:/www/WebServer/MySQL   # set datadir to location of data directory,   # e.g., c:/mysql/data or d:/mydata/data   # 设置为MYSQL的数据目录   datadir=D:/www/WebServer/MySQL/data   另外,要主意   [WinMySQLadmin]   Server=D:/www/WebServer/MySQL/bin/mysqld-nt.exe   user=root   password=xxxxxxxx   #以上是设置WinMySQLadmin的配置   [Client]   user=root   password=xxxxxxxx   hehe~ :) 解决了   my.ini 文件内容如下.我自己改的,就好了,嘿嘿   [mysqld]   # set basedir to installation path, e.g., D:/mysql   # 设置为MYSQL的安装目录   basedir=D:/mysql   # set datadir to location of data directory,   # e.g., d:/mysql/data or d:/mysql/mydata/data   # 设置为MYSQL的数据目录   datadir=D:/MySQL/data
󰈣󰈤
 
 
 
>>返回首页<<
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 热帖排行
 
 
王朝网络微信公众号
微信扫码关注本站公众号wangchaonetcn
 
 
静静地坐在废墟上,四周的荒凉一望无际,忽然觉得,凄凉也很美
©2005- 王朝网络 版权所有