Dokeos single database – don’t let yourself get tricked

I wanted to write this post for two reasons:

  1. to remind everybody that we (the Dokeos company) continue to vaguely support this mode because we understand it is still more practical when installing it on a free/cheap hosting server
  2. to help you avoid the tricky issue in the installation process when deciding which main db name to use

As the first point is pretty much complete, I’ll go straight to the second point. In the Dokeos installation process, the database configuration screen asks you for a prefix and a database name. It’s all OK, but the tricky thing is that the default value that are given are “dokeos_” for the prefix and “dokeos_main” for the main database.

This might lead you to think that the database created will actually be called “dokeos_main”, while in this context of leaving the options by default, it will be called “dokeos_dokeos_main”. Yes, the prefix is added in front, as any prefix is.

I know, it’s not very intuitive so I’ll try improving that for the next version, but at least you’ve been warned!

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on TumblrEmail this to someone


  1. Terrible stuff. I know that you’ve inherited this from Claroline but still.. I made a mistake and installed it on single db. Now windows is choking with so many files in one directory.

    Maybe someday you can change it and use a decent 1 db solution with fixed num. of tables.

Leave a Reply

Your email address will not be published. Required fields are marked *