How to edit database info.
You may need to migrate your installation and forget database password or you need change database password in the configuration file.
You can edit the .env file in the main folder.
Database password cannot have special characters just numbers and letters.
After changing the .evn file you may need run
php bin/console c:c