小编Kha*_*han的帖子

在VirtualBox上使用MysqlWorkBench访问mysql dbase(Vagrant - ZF - BoilerPLate)

有没有人知道通过MysqlWorkBench连接到VB MySQL.我可以通过终端登录虚拟机,但我无法通过MySqlWorkBench连接它.另外我可以在vb上ping google,ifconfig给了我10.0.2.15地址,当我在MysqlWorkBench中输入它时出现错误:

Failed to Connect to MySQL at 127.0.0.1:3306 through SSH tunnel at 10.0.2.15:2222 with user davs
Run Code Online (Sandbox Code Playgroud)

我的虚拟框使用端口2222进行连接.当我尝试连接ip 127.0.0.1时

Failed to Connect to MySQL at 127.0.0.1:3306 through SSH tunnel at 127.0.0.1:2222 with user davs     Failed to Connect to MySQL at 127.0.0.1:3306 through SSH tunnel at 127.0.0.1:2222 with user davs
Run Code Online (Sandbox Code Playgroud)

任何建议都会有所帮助,谢谢.

php virtualbox zend-framework vagrant

2
推荐指数
1
解决办法
5447
查看次数

标签 统计

php ×1

vagrant ×1

virtualbox ×1

zend-framework ×1