2.14.19. Setting up a database connection in ImageCMS


The connection will not work with localhost. The host address must be taken from the data to connect to the database.

Database connection data in ImageCMS are specified in the configuration file application/config/database.php in lines:

$db['default']['hostname'] = 'host';
$db['default']['username'] = 'login';
$db['default']['password'] = 'password';
$db['default']['database'] = 'база_data';

Changes can be made using filemanager or any FTPclient.