Home > Database > Mysql Tutorial > MySql错误解决办法_MySQL

MySql错误解决办法_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:44:01
Original
950 people have browsed it

bitsCN.com 1.mysql服务无法启动的解决办法 操作系统:
win xp 现象:mysql服务无法启动
异常信息:在 本地计算机 无法启动mysql服务 错误1067:进程意外中止
分析原因:在C:/WINDOWS目录下没有my.ini文件。(如果有,则可能是basedir和datadir这两个环境变量配错了)。
解决办法:用查找方法在整个系统下查找my.ini文件,如果查到,把这个文件拷贝到C:/WINDOWS目录下。如果没查到,则在C:/WINDOWS目录下手动建立my.ini文件,新建文件中至少包含basedir,datadir两个基本配置。
my.ini配置例子:
 [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 bitsCN.com

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template