Monday, September 3, 2012

My answer to "get an error when asking question"

This is my answer to a Question on Support site for LampCMS project


Actually this error probably means cannot connect to MySQL database, not Mongo. LampCMS uses MySQL in addition to Mongo to implement "Similar questions" feature and to implement the "Search" feature.
I chose to use MySQL for search because MySQL has full text search capability which makes it very easy to index questions.

All you need to do is to create an empty MySQL database and supply the connection details in the [DB] Section of !config.ini

You don't have to create any tables in MySQL, the program will create table automatically when it's first needed.

No comments:

Post a Comment