Re: create database?

From: Date: Sun, 20 May 2001 03:57:37 +0000
Subject: Re: create database?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-150@lists.php.net to get a copy of this message
Hello Heidi, On 18-May-01 08:36:05, you wrote: >I am trying to create a database using Pear but cannot find how to do this >(without pear I would use mysql_create_db). >I have tried looking in a few places for this information e.g. >http://www.phpdoc.de/pear/index2.html >but can not find this information. Is this possible if so where is the >documentation? I'm afraid PEAR does not abstract database creation funcionality. Anyway, abstracting database creation is tricky because not all types of databases call database to the same thing. In Oracle databases are like different instances of the server. Metabase offers database creation abstraction but under Oracle what it does is creating a new user for each new database because that is the only way to achieve a new isolated table and sequence space that whose names won't collide with the tables and sequences existing in other user schemas. Look here for more information on how Metabase does it: http://phpclasses.UpperDesign.com/browse.html/package/20 Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org -- E-mail: mlemos@acm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --

« previous php.pear.general (#150) next »