Not a developer? Go to



This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi, to customize the behavior of the system.

Used to define the database socket in the case which database is on the same host as the web server running Movable Type but the database and Perl’s UNIX sockets are different.

Advanced and typically only used in larger installations.


For the database socket “/path/to/mysql.sock”:

DBSocket /path/to/mysql.sock

Database config directives:

For instructions on how to configure Movable Type for your database environment, see Installing Movable Type.