Cygwin上的Heroku正在记录一些奇怪的东西,看起来像;mysql——帮助“;
我正在使用cygwin,每次我调用heroku时,它都会两次输出msql的帮助返回,然后正常工作:Cygwin上的Heroku正在记录一些奇怪的东西,看起来像;mysql——帮助“;,mysql,heroku,cygwin,Mysql,Heroku,Cygwin,我正在使用cygwin,每次我调用heroku时,它都会两次输出msql的帮助返回,然后正常工作: Kenneth@Forge ~ $ heroku MySQL Ver 14.14 Distrib 5.5.41, for CYGWIN (x86_64) using readline 6.3 Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is
Kenneth@Forge ~ $ heroku
MySQL Ver 14.14 Distrib 5.5.41, for CYGWIN (x86_64) using readline 6.3
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Usage: MySQL [OPTIONS] [database]
-?, --help Display this help and exit.
-I, --help Synonym for -?
--auto-rehash Enable automatic rehashing. One doesn't need to use
'rehash' to get table and field completion, but startup
and reconnecting may take a longer time. Disable with
--disable-auto-rehash.
(Defaults to on; use --skip-auto-rehash to disable.)
-A, --no-auto-rehash
No automatic rehashing. One has to use 'rehash' to get
table and field completion. This gives a quicker start of
mysql and disables rehashing on reconnect.
。。。以此类推,以
secure-auth FALSE
show-warnings FALSE
plugin-dir (No default value)
default-auth (No default value)
然后重复上述步骤,然后正常工作。数小时的搜索毫无结果,也没有卸载和重新安装heroku。我试图在heroku文件中找出这是怎么回事,但我实在是太深了。任何关于如何解决这个问题的帮助都将不胜感激。最终发现了问题所在,MySQL在我的路径中添加了两个项目,其中一个是Linux不喜欢的&类似于“MySQL thing 1.0和MySQL thing 2.0”。当检查路径时,Linux将所有经过符号的内容解释为一个单独的参数,因为它是一个无效的参数,所以它显示了帮助选项。最终发现了问题所在,MySQL向我的路径添加了两个项目,其中有一个Linux不喜欢的&类似于“MySQL thing 1.0和MySQL thing 2.0”。当检查路径时,Linux将所有经过符号的内容解释为一个单独的参数,因为它是无效的参数,所以它显示了帮助选项