Change both the database-name and url.

So:

  <jdbc-data-source name="opennms"
                    database-name="opennms18"
                    class-name="org.postgresql.Driver"
                    url="jdbc:postgresql://localhost:5432/opennms18"
                    user-name="opennms"
                    password="" />


-----Original Message-----
From: maali [mailto:maali4pe...@gmail.com] 
Sent: Sunday, November 13, 2011 5:27 AM
To: opennms-devel@lists.sourceforge.net
Subject: [opennms-devel] How to change the default 'opennms' DB to use another 
DB.

Hi,
  
   I am trying to change the default opennms DB defined in 
opennms-datasources.xml ,but it is always taking the 'opennms' db 
   only,
 
   what else i need to change,so that opennms uses my new DB in same localhost.

   <jdbc-data-source name="opennms" 
                    database-name="opennms" 
                    class-name="org.postgresql.Driver" 
                    url="jdbc:postgresql://localhost:5432/opennms"
                    user-name="opennms"
                    password="opennms" />

Thanks,
maali

--
View this message in context: 
http://opennms.530661.n2.nabble.com/How-to-change-the-default-opennms-DB-to-use-another-DB-tp6989683p6989683.html
Sent from the OpenNMS - devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

This e-mail message is being sent solely for use by the intended recipient(s) 
and may contain confidential information.  Any unauthorized review, use, 
disclosure or distribution is prohibited.  If you are not the intended 
recipient, please contact the sender by phone or reply by e-mail, delete the 
original message and destroy all copies. Thank you.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to