variable mysql

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

which variables can I use...

please...

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

I will try

tank you... so much

Joe's picture
Submitted by Joe on Thu, 06/25/2009 - 17:33 Pro Licensee

Oops...except I now note that these particular variables are missing. Will be fixed during migration to the new categorization.

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"

Automatically closed -- issue fixed for 2 weeks with no activity.