有没有人知道通过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)
任何建议都会有所帮助,谢谢.