User defined database name


I would like to use user defined database name during installing a site.
Can anyone share the command or steps.


I dont think there is a simple way.
It is generated using hash function

In the beginning you could do it using --db-name as argument for the create site’s command. Like this:

bench new-site sitename --db-name database_name
and it used to work… then there was a time when it just ignored the database name. I tried it like a week ago and it was working fine again.

Good luck…