Submitted by emcali on Wed, 06/24/2009 - 23:56
hi...
when I create a virtual serve for default make database with the same login name.
this is ok...
variable which I can use fron a script to know the name database when no is for default?
variable which I can use fron a script to know the name database that are added the virtual serve?
in the web "http://www.virtualmin.com/documentation/id,template_variable_listing/" not variable useful...
Status:
Closed (fixed)
Comments
Submitted by emcali on Thu, 06/25/2009 - 12:40 Comment #1
which variables can I use...
please...
Submitted by JamieCameron on Thu, 06/25/2009 - 12:43 Comment #2
In a script, you can refer to $VIRTUALSERVER_DB to get the default database name.
Additional MySQL databases can be found in the variable $VIRTUALSERVER_DB_MYSQL
Submitted by emcali on Thu, 06/25/2009 - 14:49 Comment #3
I will try
tank you... so much
Full docs on available template variables:
http://www.virtualmin.com/documentation/id,template_variable_listing/
Oops...except I now note that these particular variables are missing. Will be fixed during migration to the new categorization.
Submitted by emcali on Fri, 06/26/2009 - 07:46 Comment #6
Yes... is ok
"In a script, you can refer to $VIRTUALSERVER_DB to get the default database name.
Additional MySQL databases can be found in the variable $VIRTUALSERVER_DB_MYSQL"
Submitted by Issues on Fri, 07/10/2009 - 08:18 Comment #7
Automatically closed -- issue fixed for 2 weeks with no activity.