Can I create a database from PHP

Wednesday, 13 July 2011 · 3 messages
YM
yoann maingon13 Jul 2011 00:42 #
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
CG
Christian Grün13 Jul 2011 00:47 #
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
YM
yoann maingon13 Jul 2011 01:09 #
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 >

⚡Generated with XQuery