建站软件 优化软件 编程软件 网页辅助 站群程序 网站程序 图像处理 资源教程 字体下载 推荐软件


您的位置:首页 > MYSQL学习 > mysql提示1058错误

mysql提示1058错误

时间:2015-02-11 15:23:05  来源:免费模板网 作者:风雪 阅读次数 tagsmysql提示1058错误

  mysql抛出1058提示现象:mysql 服务无法启动,系统发生1058错误、

我的mysql原安装好的,后来把服务禁掉,然后用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下, 注意在配置环境中的一些路径是否一致。

本文地址:https://www.freemoban.com/mysql/2015/0211/512.html

猜你喜欢
栏目推荐
模板推荐

Copyright:www.freemoban.com 免费模板网 All Rights Reserved 网站备案:辽ICP备19014872号-2   辽公网安备 21010602000376号  辽公网安备:42900402000182号

免责声明:本站部分资源来自互联网收集,版权归原创者所有,如果侵犯了你的权益,我们会及时删除侵权内容,联系QQ:1615187561 谢谢合作!