Dokeos single database – don't let yourself get tricked
I wanted to write this post for two reasons:
- 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
- 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!