Home > Database > Mysql Tutorial > 案例:MySQL服务无法启动 系统发生1058错误_MySQL

案例:MySQL服务无法启动 系统发生1058错误_MySQL

WBOY
Release: 2016-06-01 13:47:50
Original
1162 people have browsed it

bitsCN.com

现象:mysql 服务无法启动,系统发生1058错误

我的mysql原安装好的,后来用360安全卫士把服务禁掉,然后用mysqld-nt standalone启动,现在我想把服务重


新启动,却无法启动.


解决方法:


◆1、运行

D:mysqlin>mysqld-nt -remove

Service successfully removed.


D:mysqlin>mysqld-nt -install

Service successfully installed.


D:mysqlin>net start mysql

MySQL 服务正在启动 .

MySQL 服务已经启动成功。

 

◆2、检查my.ini or my.cnf是否正常?

试一试把%SystemRoot%my.ini 改成这样


[mysqld]

basedir=D:/mysql

datadir=D:/mysql/data

default-character-set= gbk

[WinMySQLadmin]

Server=D:/mysql/bin/mysqld-nt.exe

 

◆3. 把my.ini 和 my.cnf 复制到 系统盘XX:WINDOWSsystem32下, 注意在配置环境中的一些路径是否一致。

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