If you need to move or reconfigure your Drupal installation, you need to reconfigure values inside the file settings.php.
Important values inside settings.php
‘database’ => ‘drupal123’ – The name of a Database
‘username’ => ‘drupal123’ – Username
‘password’ => ‘123’ – Password
‘host’ => ‘localhost’ – Database server name
‘port’ => ” – Database Server Port Number
‘driver’ => ‘mysql’ – Type of the Database
‘prefix’ => ‘dru_’ – Prefix for the tables, as usually it consists of minimum 3 symbols and ends with an underscore (optionally)