服务端软件chroot后的mysql的相关设置

被mysql的#2002折腾了好几天,迷惑ing,今天终于搞定。 

如果mysql是以module方式编译在php里,则把mysql.so拷贝到相应的目录;

如果mysql是build-in在php里,则修改my.cnf设定mysql.sock的路径到chrooted的目录里的路径下。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>