我使用Vagrant挂载了一台新的VirtualBox机器,并在该虚拟机中安装了Mysql Server。如何连接到vm外部服务器?我已经转发了Vagrantfile的端口3306,但当我尝试连接到mysql服务器时,它重新发送了错误消息:‘正在读取初始通信数据包’
ERROR 2013 (HY000): Lost connectionto MySQL server at 'reading initial communication packet', system error: 0
state=absent when: loadBase# data files, relative to the source code root, to be
# conditionally runthe manual that corresponds to your MySQL server version for the right