2.14.10.2. Setting up a database connection in October
Attention!
With hostlocalhost
the connection will not work. The host address must be taken from the data to connect to the database.
Database connection data in October are specified in the config file config/database.php
in the block mysql
in lines:
'mysql' => [ 'driver' => 'mysql', 'engine' => 'InnoDB', 'host' => 'host', 'port' => 3306, 'database' => 'database', 'username' => 'login', 'password' => 'password', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'varcharmax' => 191, ],
Changes can be made using filemanager or any FTPclient.