mysql闪退或者can not connect 127.0.0.1

MYSQL 无安装文件 exe执行时闪退

mysql闪退或者can not connect 127.0.0.1 

APP 百款主流机型兼容性免费测 »  

Mysql  官网上下载的Mysql

但是没有发现安装程序。据说是直接解压就可以使用

但是执行\bin 目录下的EXE程序时

执行窗口会出现闪退的情况。。

求解

//安装版本 也会出现这种情况 

 

引用来自“空清城”的答案

问题已解决。。

修改  my-default.ini 文件 将一下代码前# 去掉修改成自己的地址

# These are commonly set, remove the # and set as required. 
 basedir = D:\mysql\mysql-5.6.12-win32 
 datadir = D:\mysql\mysql-5.6.12-win32\data 
 port =3306 
 server_id = 1
 

# These are commonly set, remove the # and set as required.
# basedir = D:\MySQL\MySQL Server 5.6
# datadir = D:\MySQL\MySQL Server 5.6\data
# port =3306
# server_id =1

配置以上自己路径后 再按照 cmd 命令操作 即可启动mysql 然后再去 管理 服务里面设置自动启动

 原文地址 http://www.oschina.net/question/1172332_118767

posted @ 2015-12-22 17:57  山河永慕~  阅读(402)  评论(0编辑  收藏  举报