How to use the database hypersql provided by openfire (interface settings)

Source: Internet
Author: User

When installing openfire, you can choose the built-in database-hypersql for simplicity.

 

Hypersql is a lightweight open-source relational database system developed in pure Java. Please refer to its official website: http://hsqldb.org/

 

Next we will record how to use hypersql step by step

  1. Find the installation path of HSQLDB. Jar

    In ubuntu9.10, the installation path of HSQLDB. jar is in/usr/share/openfire/lib. You can also use the following command to find
    $ Dpkg-s openfire | grep HSQLDB. Jar
  2. Suspend openfire Service
    Because openfire locks the database and stops the openfire service for access

    $ Sudo service openfire stop

     

  3. Run the hypersql database management tool
    $ Sudo Java-cp hsqldb. Jar org. HSQLDB. util. databasemanagerswing
  4. Connect to a hypersql Database
    Select hsql Database Engine standalone for Type
    Select JDBC: HSQLDB:/var/lib/openfire/Embedded-DB/openfire as the URL.
    The default user is Sa.
    The password is empty by default.
  5. Connection successful. You can operate hypersql !!

From: http://blog.csdn.net/liuyu790810/article/details/5511588

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.