Appfog mysql隧道错误 - 此事件机器上没有加密功能

Joh*_*nyM 8 ruby mysql tunnel paas appfog

我们使用caldecott和af tunnel命令建立了与appfog的连接.我们尝试连接到mysql服务以加载并执行一个大的.sql文件来填充数据库.

我们在VirtualBox上的3个不同的机器Ubuntu,VirtualBox上的Feora 18和本机Ubuntu上尝试了它.我们也尝试过另一个帐户,但我们不断收到此错误:

Launching 'mysql --protocol=TCP --host=localhost --port=10000 --user=uZVQhGhbYEzyb --password=pNu1l6xbXVhbj d39d6d0e6344b41a4aaeada16dfca2a46'

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

Aborted (core dumped)
Run Code Online (Sandbox Code Playgroud)

Joh*_*nyM 11

感谢appfog客户支持,我设法解决了这个问题.我的发行版缺少ssl提供程序.

在fedora上解决这个问题

yum install openssl openssl-devel
gem uninstall eventmachine
gem install eventmachine
Run Code Online (Sandbox Code Playgroud)

但是我仍然遇到执行大型SQL脚本的问题.有谁知道这个问题的一个简洁的解决方案?

  • 谢谢.在我的情况下,我不得不安装libssl-dev而不是openssl-devel.(debian机器) (2认同)