- Backup your entire system.
- Remove or rename the existing ll-config.php and create another empty one (giving write access just like you are going to install from scratch).
- Run the Admin setup and finish it after the first step – the step where you generate the ll-config.php with the new database settings. So exit the setup (close the browser tab) after the ll-config file is generated.
This will generate only the ll-config file with the new database settings, and will work as long as the database has the same records as before.