[英]Can't start mysql in terminal for OSX 10.8 with standard XAMPP stack installation
Error sql: command not found 错误 SQL:找不到命令
.profile code export PATH=/opt/local/bin:/opt/local/sbin:/Applications/xampp/xamppfiles/bin:$PATH .profile代码导出PATH = / opt / local / bin:/ opt / local / sbin:/ Applications / xampp / xamppfiles / bin:$ PATH
I've edited the filed saved it and tried multiple versions and unable to get mysql to start 我已经编辑了文件并将其保存,并尝试了多个版本,但无法启动mysql
Type whereis sql
and put whatever it prints into your PATH, minus the program name. 键入whereis sql
然后将其打印的内容减去程序名称后放入PATH中。 eg, if it prints usr/bin/sql
, then makes sure /usr/bin
is in your PATH. 例如,如果它显示usr/bin/sql
,则确保/usr/bin
在您的PATH中。
To start mysql, you type mysql
not sql
. 要启动mysql,请键入mysql
not sql
。 Hope that helps. 希望能有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.