Can I create a database from PHP
Hi,
I've seen the java code to create a new database. Is there a way i can create a new database from PHP? Will there be many people being able to use different databases at the same time on the same server? is it just a matter of hardware Server performance?
Best Regards,
Yoann Maingon Minerva France +33 6 64 32 49 66
Hi,
Quoted text · yoann maingon · 1 line
> I've seen the java code to create a new database. Is there a way i can create a new database from PHP?
No problem; our Wiki might give you some more hints (e.g. here: http://docs.basex.org/wiki/Clients).
Quoted text · yoann maingon · 1 line
> Will there be many people being able to use different databases at the same time on the same server? is it just a matter of hardware Server performance?
That's no problem as well; the client/server architecture of BaseX supports several databases to be opened at the same time.
Hope this helps, Christian
ok my bad, didn't search enough, I was looking for this
// create new database
$session->execute("create db database");
print $session->info();thanks !
Yoann Maingon Minerva France +33 6 64 32 49 66
2011/7/13 Christian Grün <christian.gruen at gmail.com>
Quoted text · Christian Grün · 18 lines
> Hi, > > > I've seen the java code to create a new database. Is there a way i can > create a new database from PHP? > > No problem; our Wiki might give you some more hints (e.g. here: > http://docs.basex.org/wiki/Clients). > > > Will there be many people being able to use different databases at the > same time on the same server? is it just a matter of hardware Server > performance? > > That's no problem as well; the client/server architecture of BaseX > supports several databases to be opened at the same time. > > Hope this helps, > Christian >
Written for BaseX 6.7. BaseX may have changed since: please check the current documentation.