当我尝试通过 vmc 工具管理我的 mysql 服务时。我收到如下错误:
$ vmc tunnel cucgp --port 9999 mysql
Getting tunnel connection info: OK
Service connection info:
username : uxpHWCAlOdElr
password : pIw5h2MKQjDOI
name : d4bbe4b16b3904c41bd5ff42c1df92b7a
Starting tunnel to cucgp on port 9999.
Launching 'mysql --protocol=TCP --host=localhost --port=9999 --user=uxpHWCAlOdElr --password=pIw5h2MKQjDOI d4bbe4b16b3904c41bd5ff42c1df92b7a'
terminate called after throwing an instance of 'std::runtime_error'
what(): Encryption not available on this event-machine
已放弃
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0
$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
$ vmc -v
vmc 0.3.18
我的 ruby 版本有问题吗?我只是用 ubuntu 源代码中的 apt 安装它。最后,我为我糟糕的英语道歉。