Include username in database name

For urgent and private issues, open a support ticket instead of posting:
Post Reply
Posts: 67
Joined: Sat Jul 24, 2010 4:25 pm

Include username in database name

Post by jas8522 » Sat Jul 24, 2010 4:30 pm

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.



Posts: 492
Joined: Tue Jun 19, 2007 6:06 am

Re: Include username in database name

Post by Phil » Sun Jul 25, 2010 2:16 am


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,
Phillip Stier
Installatron Co-Founder

Posts: 1
Joined: Thu Nov 05, 2015 5:41 am

Re: Include username in database name

Post by facciolini » Thu Nov 05, 2015 5:44 am

how can I get this?
Thank you

Post Reply