Database Names: Prefix for each customer possible?

3 posts / 0 new
Last post
#1 Fri, 06/13/2008 - 06:08
fatbear

Database Names: Prefix for each customer possible?

I want each customer who logs in and creates a database for their account to automatically have the same prefix for any database they create. The prefix might come from the top-server name.

For example, if a customer has the top server name fatbear.com, their prefix would always be "fatbear_". So, they could create databases such as fatbear_name1 and fatbear_name2.

This would help me keep the database namespace more manageable and help me quickly identify which databases belong to which customers. Is this possible?

Sun, 06/07/2009 - 07:24
ronald
ronald's picture

this must be possible in the server template under MySql database and set "Prefix for additional databases" with ${PREFIX} or

${DOM} for the domain name, ${USER} for the administration user, ${UID} for Unix user ID number and %{GID} for the group ID

Sat, 06/14/2008 - 06:43
fatbear

Thank you for pointing me at that! Just exactly what I needed... thanks!

Topic locked