Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Interfacing with database.xml
Migrateduser
Hi, Currently we have numerous Databases listed in our database.xml file. I wanted to interface with these databases using a perl script. I'm wondering if anyone knows of a way to programmatically interface with the database.xml file. Are there API's available to get DB connection values easily?
Otherwise, I was thinking I would just use an perl xml parser and grab the values that way. However, using the xml parser is going to be a lot more coding. It would be nice if there was a perl API available.
my ($host, $username, $passwd) = GetDBConnectInfo($path_to_dbxml, $db_name)
Anyone heard of this?
Thanks,
Brian
Find more posts tagged with
Comments
There are no comments yet