« 5件我们无法改变的事情 | Main | 今日blog之收获 »

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

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

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

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

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on May 13, 2007 6:08 PM.

The previous post in this blog was 5件我们无法改变的事情.

The next post in this blog is 今日blog之收获.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.