Movable Type - DataSource error
Posted by: Anonymous
Posted on: 2004-11-23 10:40:00
Hi. I'm in the process of moving hosts, and I plan to set up Movable Type and make sure it's all working before I transfer my DNS settings.
So I've managed to install MT using the very helpful directions at http://wombatnation.com/misc/installMTDreamHost.html.
However, when I attempted to run mt-load.cgi, I got the following error: Your DataSource directory ('./db') does not exist. So I went into the mt.cfg file, and the line read as "DataSource ./db" - there were no # symbols preceding this line, which means it's uncommented, right?
First I checked the mySQL database settings I had in DreamHost and matched those against what was in mt.cfg. That was fine. Next, I realized that when I uploaded my edited mt.cfg, I did it in binary instead of ASCII mode. So I re-uploaded in ASCII mode. (And then I forced myself to try emacs so I could just edit on the server.)
After hunting around here in the forums and in the official MT instructions and on the web, I edited the DataSource line to reflect the path to my directory, so that the line read as the following: DataSource /home/myusername/mydomain.com/mt.
I ran mt-load.cgi, and the installation worked. But here's my question: I was trying to set up MT with mySQL as opposed to Berkeley DB support, and it appears that editing the DataSource line is what you're supposed to do IF you're going to use the Berkeley DB support. Am I understanding this correctly, that I'm NOT supposed to edit the DataSource line if I'm using mySQL instead of Berkeley?
So where did I go wrong? Should I re-install from scratch?
Also, a smaller question. I'd like my blog to be at mydomain.com, not mydomain.com/blog as suggested by the instructions. According to the installation instructions, I really should set permissions to 755 for the root directory for my blog, which in this case is the mydomain.com folder set up for me when I signed up with DreamHost. When I tried to do that, I had problems accessing it in Putty. Currently that folder is set to 777 but I'm not sure how to resolve this.