我连接到MySQL,为我的站点获取动态内容的数据。但是,如果我的远程数据库服务器出现故障,我如何向访问者展示网页缓存或替换呢? public function __construct($cached) $this->con = mysql_connect($host, $user, $pass, $data);
// if we cannot open a
我尝试用Ubuntu8.04、Apache2和MySQL 5将一个已有5年历史的rails应用程序迁移到一个新服务器上。Errno::ENOENT (No such file or directory - /var/run/mysqld/mysqld.sock)
我查看了一下我的新服务器,但是找不到一个