【发布时间】:2017-01-27 14:39:25
【问题描述】:
在我的宅基地机器上执行homestead up --provision 时出现错误:
...[success logs here]...
==> default: Running provisioner: shell...
default: Running: /var/folders/9j/bsvhbzdn2dx8hjwgnl7nrj7w0000gn/T/vagrant-
shell20170127-4343-1dyyzgz.sh
==> default: mysql:
==> default: [Warning] Using a password on the command line interface
can be insecure.
==> default: Please use --connect-expired-password option or invoke
mysql in interactive mode.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
虽然我收到此错误,但一切正常,除了一个:
我在~/.homestead/Homestead.yaml 中定义的数据库不是在mysql 中创建的。所以我猜这个错误会导致问题。
任何帮助将不胜感激。
【问题讨论】: