Moveable Type on OpenBSD Redux | John's Ponderings

Moveable Type on OpenBSD Redux

January 9th, 2004 | jchaager | technology

I had to move my web directory on the server because I was filling it up with pictures and was running dangerously low on disk space. Moving it wasn’t difficult, but figuring out how to get MoveableType reconnected to MySQL took a bit of research. Turns out that the fix was straightforward. In the original article, I simply created a hard link between the mysql socket and the mysql socket inside the Apache ChRoot Jail. But, with the web directory no longer on the same partition, this no longer worked.

After a bit of searching, I figured out that if you set the DBHost in the MT config to localhost, it assumes it should use the Unix Socket method of connection. Simply changing it from localhost to the host name of the machine caused it to use a TCP/IP connection instead. Much easier to deal with, I think.

Related Posts:


Comments are closed.