[jdev] sm.xml configure

Zhangmingjie mjxlzhang at gmail.com
Mon Jun 25 05:23:52 CDT 2007


Greetings,
my company is seting up a jabberd2 as im sysytem,my problem is "how to configure sm.xml to support two mysql driver",one mysql is support for authreg and roster,another mysql is support to vcard?
the standard sm.xml is,how to change it?
------------------------
  <!-- Storage database configuration -->
  <storage>
    <!-- By default, we use the MySQL driver for all storage -->
    <driver>mysql</driver>
    <!-- Its also possible to explicitly list alternate drivers for
         specific data types. -->
    <!-- Store vcards in a PostgreSQL database instead -->
    <!--
    <driver type='vcard'>pgsql</driver>
    -->
    <!-- MySQL driver configuration -->
    <mysql>
      <!-- Database server host and port -->
      <host>localhost</host>
      <port>3306</port>
      <!-- Database name -->
      <dbname>jabberd2</dbname>
      <!-- Database username and password -->
      <user>jabberd2</user>
      <pass>secret</pass>
      <!-- Transacation support. If this is commented out, transactions
           will be disabled. This might make database accesses faster,
           but data may be lost if jabberd crashes.
           
           This will need to be disabled if you are using a MySQL
           earlier than v3.23.xx, as transaction support did not appear
           until this version. -->
      <transactions/>
    </mysql>
------------------------
Best Regards,
 
Jackie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20070625/868d3bd4/attachment-0002.htm>


More information about the JDev mailing list