ispCP - Board - Support
New databases with user prefix? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: New databases with user prefix? (/thread-2639.html)



New databases with user prefix? - DaSilva - 03-05-2008 06:08 PM

Is it possible to automatically add an user prefix to every new database that is created by a customer?
Because now after an update from VHCS2 I have many databases with names that I cannot assign to a customer.
As an example:
Customer domain.tld has this database name: "phpbb3"
New databases should be like "{cutomer_id}_phpbb3" ("12_phpbb3" if the customer has "12" as id).
The old databases cannot be changed because it would cause errors I think.
Thanks for help.


RE: New databases with user prefix? - joximu - 03-05-2008 07:35 PM

yes this is possible - you will be asked during setup.

or have a look in /etc/ispcp/ispcp.conf

/J