Home > Database > Mysql Tutorial > mysql command line client打不开(闪一下消失)的解决办法_MySQL

mysql command line client打不开(闪一下消失)的解决办法_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:41:05
Original
1429 people have browsed it

bitsCN.com
网上搜索到的解决办法:

1、找到mysql安装目录下的bin目录路径。
2、打开cmd,进入到bin目录的路径下,输入mysql -u root -p。

问题分析:
1、查看mysql command line client默认执行的一些参数。方法:开始->所有程序->MySQL->MySQL Server5.5->MySQL5.5 command line client,右键属性。
 mysql command line client 打不开(闪一下消失)的解决办法 - jsj4327 - jsj4327的博客 
2、注意看目标的内容。内容比较长,复制出来如下:

"G:/Program Files/MySQL/MySQL Server 5.5/bin/mysql.exe" "--defaults-file=G:/Program Files/MySQL/MySQL Server 5.5/my.ini" "-uroot" "-p"
 mysql command line client 打不开(闪一下消失)的解决办法 - jsj4327 - jsj4327的博客

3、注意"--defaults-file=G:/Program Files/MySQL/MySQL Server 5.5/my.ini" "-uroot" "-p" 中指定的配置文件是 my.ini文件。

这里我们查看一下安装目录,即G:/Program Files/MySQL/MySQL Server 5.5,6个ini文件均不是 my.ini。 mysql command line client 打不开(闪一下消失)的解决办法 - jsj4327 - jsj4327的博客

4.复制my-small.ini文件,更名为my-ini文件,保存。
 mysql command line client 打不开(闪一下消失)的解决办法 - jsj4327 - jsj4327的博客 
5.启动mysql command line client,问题解决。
 mysql command line client 打不开(闪一下消失)的解决办法 - jsj4327 - jsj4327的博客
  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