RE: [PEAR] Problem creating tables from XML with MDB

From: Date: Thu, 17 Apr 2003 15:09:11 +0000
Subject: RE: [PEAR] Problem creating tables from XML with MDB
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4918@lists.php.net to get a copy of this message
> From: Merritt, Dave [mailto:Dave.Merritt@ArvinMeritor.com] > Sent: Thursday, April 17, 2003 4:55 PM > > Okay, I corrected my code to use the MDB::loadFile('Manager') and I used > the > reverse_engineer_xml_schema.php to generate a sample xml. When I use the > xml file with my updated code the browser just hangs. > > Dave Merritt > dave.merritt@arvinmeritor.com > > Here's my php code: > > <?php > > require_once('MDB.php'); > MDB::loadFile('Manager'); > > $schema_file='test.xml'; > > $manager=new MDB_manager; > > $dbinfo = array > ( > "phptype"=>'mysql', > "username"=>'pdmweb', > "password"=>'pdmweb', > "hostspec"=>'localhost' > ); > > $manager->connect($dbinfo); Hmm that scripts works perfectly over here. All I changed was the username and password obviously and it created the table and echoed "Good Connection". Are you sure that no other problems might be interfering here? Regards, Lukas

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