NAME
MKDoc::Setup::SQL - Install MKDoc::SQL on an MKDoc::Core site.
REQUIREMENTS
MKDoc::Core
Make sure you have installed MKDoc::Core on your system with at least one MKDoc::Core site. Please refer to MKDoc::Core::Article::Install for details on how to do this.
A working MySQL database
You need access to a MySQL server. You will need a database per site for which you want to deploy MKDoc::SQL on.
INSTALLING
Once you know the connection parameters of your database (database name, database user, database password, database host and database port), installation should be very easy:
source /path/to/site/mksetenv.sh
perl -MMKDoc::Setup -e install_sql
That's it! The install script will prompt you for the database connection parameters, test that it can connect to the database and finally write that connection information in your site directory.