我知道之前已经问过这个问题并且有很多解决方案,但是它们都没有为我工作,在我的情况下它有点不同.
我有一个服务器,其数据库通过隧道连接到其他服务器.运行ubuntu 1310和1204的服务器没有任何问题.但是使用相同的设置,相同的配置,相同的应用程序,我在1404上得到了这个问题.
服务器设置:
A - Ubuntu 1204 Server with MariaDB 10.0 Database
B - Ubuntu 1204 Server with MariaDB 5.5 Client -> tunneled via autossh 14c and works perfect
C - Ubuntu 1204 Server with MariaDB 5.5 Client -> tunneled via autossh 14c and works perfect
D - Ubuntu 1310 Server with MariaDB 5.5 Client -> tunneled via autossh 14c and works perfect
E - Ubuntu 1310 Server with MariaDB 5.5 Client -> tunneled via autossh 14c and works perfect
F - Ubuntu 1310 Server with MariaDB 5.5 Client -> tunneled via autossh 14c and works perfect
D - Ubuntu 1404 Server with MariaDB 5.5 Client (also tried mysql 5.5 and mariadb 10.0) -> tunneled via autossh 14c DOES NOT WORK though same setup and app:
.
2014-07-11 16:02:51 [SEVER