The Movable Type Knowledge Base

DataSource Directory Does Not Exist

Question

When installing Movable Type (or trying to access the Configuration Menu for the Nofollow plugin in a version prior to 3.2), I receive an error saying Your DataSource directory does not exist.

Answer

Error occurs during installation

First, make sure you have created a folder named db, and that you have set its permissions to the equivalent of chmod 777 (if you are not running under cgiwrap or suexec).

Then, make sure you've specified the full server path1 for the DataSource setting in mt-config.cgi2. For example:

DataSource /home/melody/public_html/mt/db

A full server path on a Windows server might look like this:

DataSource d:\html\users\domain\cgi-bin\mt\db

Tip: Berkeley (or DB_File.pm), which requires the DataSource setting, is the least favorable database option over the other three SQL options. We strongly encourage you to choose MySQL for your database instead of Berkeley. Please see DataBase options for more details on the available choices.

Error occurs when trying to access the Configuration Menu for the Nofollow plugin

Make sure you've specified the full server path1 (rather than a relative one) for the DataSource setting in mt-config.cgi2, as noted above.

1 See How Can I Find My "Full Server Path"? for more information.

2 In versions prior to 3.2, the configuration file is named mt.cfg.

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or questions. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Support.

Yahoo! Small Business web hosting services

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.