Maison > base de données > tutoriel mysql > le corps du texte

MySQL 5.5 Command Line Client 打不开(闪一下消失)的解决办法

WBOY
Libérer: 2016-06-07 17:32:46
original
1796 Les gens l'ont consulté

MySQL 5.5 Command Line Client 打不开(闪一下消失)的解决办法

MySQL 5.5 Command Line Client 打不开(闪一下消失)的解决办法

网上搜索到的解决办法:

1、找到mysql安装目录下的bin目录路径。

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

问题分析:

1、查看mysql command line client默认执行的一些参数。方法:开始->所有程序->MySQL->MySQL Server5.5->MySQL5.5 command line client,右键属性。

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"

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。

4.复制my-small.ini文件,更名为my-ini文件,保存。

5.启动mysql command line client,问题解决。

推荐阅读:

MySQL 5.5 Command Line Client SQL常用语句

Ubuntu下Nginx做负载实现高性能WEB服务器5---MySQL主主同步

生产环境MySQL主主同步主键冲突处理

MySQL主从失败 错误Got fatal error 1236

MySQL主从复制,,单台服务器上实施

Ubuntu下编译安装MySQL双实例并配置主从复制

linux

Étiquettes associées:
source:php.cn
Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn
Tutoriels populaires
Plus>
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!