Page 1 of 1

Include username in database name

Posted: Sat Jul 24, 2010 4:30 pm
by jas8522
When a database is created via Installatron it appears to use a hash of some sort, assumably to avoid generating a filename that is the same as another.

This means that over time you get a number of databases that are unrecognizable - you can't attribute them to any particular domain or user when looking at a list of names. For example, when backing up databases for a specific user, it's simple if the username is at the beginning of the database name. Plesk allows the admin to force this setting for manual creation of databases.

It would be nice to have Installatron either obey the Plesk setting or provide a similar setting of its own. With the setting enabled, when Installatron creates databases it would use <username>_<hash> or <username>_<app_name>_<short_hash> would be optimal.

Cheers,

Jordan

Re: Include username in database name

Posted: Sun Jul 25, 2010 2:16 am
by Phil
Hello,

Yeah. Good suggestion. For Plesk we're using the application name combine with some random characters. I agree we can improve on that by prefixing the account name. We've added this to our todo list and it'll make it into the next edge build.

Thank you,
Phil.

Re: Include username in database name

Posted: Thu Nov 05, 2015 5:44 am
by facciolini
how can I get this?
Thank you