Updated on Dec 10, 2015
The configuration file of a certain application is something that you need to be aware of. Even if you are not a developer, the configuration file of Thelia is a place, where you can search for the details about the database set on your website. This comes handy if you are generating or restoring a backup of your website.
To locate the main configuration file of your Thelia installation, you first need to access the directory, where you have installed it. This is just outside of the web/ directory of Thelia. You can do so using your favourite FTP client or directly via the File Manager service within your cPanel account.
There are two ways of reviewing your files on the server - using an FTP client, following our FTP tutorial, or reviewing them directly through your cPanel account > File Manager, following our cPanel tutorial.
Once you access your Thelia directory, you need to navigate to local/config/ folder. In it, you will notice a file called database.yml. Select that file and click on the View button at the top menu, if you are using the File Manager service to review it.
The file will display sensitive information, such as the database name for your website, the user that is assigned to it and the password used.
database: connection: driver: mysql user: petkov_dtla password: p4ssw0rd dsn: mysql:host=;dbname=petkov_dtla;port=3306