in reply to
Where should I have configuration information in a file or database
In any case, there is not much of a difference. You can easily read / edit the information in a file or a database. I recently used a file to store my configuration information which contained several hashes of hashes and I consciously did this so that I can practice manipulating HoH.
But again, there is really no difference. I could have very well stored the configuration information in a database and simply wrote some SQL to retrieve the configuration information.