看到 Mysql Proxy 这个东西发布的时候,我很兴奋.
下面就介绍一下当时的情况:
目的很明确,在下面的图片中,我仅希望web server 3(网通线路)的服务器能快速读写Data base server中的数据.
因为当时我在弄一个项目,需要网通和电信两个镜像站点同时读写一个布署在电信服务器上的mysql数据库.中间有台双线的服务器可以做数据中转,试过很多方案都不理想.
但由于"世界上最遥远的距离不是...而是中国电信到中国网通...
When connecting to MySQL database, WordPress weblog based on PHP scripting will use non-persistent connection by default.当连接到MySQL数据库,在WordPress博客基于PHP脚本将使用非持久连接默认情况下。 That is, WordPress will trigger PHP to generate a new connection to MySQL server for each dynamic page request, and subsequently close the database connection once the web page bui...