[ic] system() call in usertag, again... :(

Ton Verhagen tverhagen at alamerce.nl
Thu Jul 29 04:53:13 EDT 2004

Quoting Carsten Jahnke <carstenjahnke at web.de> :
>Stefan Hornburg wrote:
>>Additionally I doubt
>>that a Perl scripts needs to be use mysqladmin instead of SQL commands.
>>         Racke
>Hi Racke, thanks for your reply. I am no perl or database guru. How can  I 
>transmit a "CREATE DATABASE..." via DBI when I'm not connected to one?
>The script must create databases dynamically.

I don't know what you are trying to accomplish exactly, so I might
miss the point.

We usually do such things with a cron job.
One of our applications stores all information regarding
hosting accounts in a database, including the databases
that need to be created. The cron job checks if it needs
to create a database and if so it'll create it and sets a
flag that it has been created.

This works really well for us. But as said maybe you've
got different needs.

Best regards,


Alamerce Nederland --- Cornerstone of eBusiness
Phone +31-40-2374381    info at alamerce.nl    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting 

More information about the interchange-users mailing list