The database in Eucalyptus

Source: Internet
Author: User

The database used in Eucalyptus is hsqldb.

The hsqldb-1.8.0.10 version is used in eucalyptus-2.0.2.

HSQLDB Home: http://hsqldb.org/

HSQLDB is an open source Java database with standard SQL syntax and Java interfaces that are free to use and distribute, very concise and fast. has three kinds of server mode, in-process mode (in-process) and memory mode (MEMORY-ONLY). Running HSQLDB requires a Hsqldb.jar package that contains a number of components and programs.

The Eucalyptus database is in/var/lib/eucalyptus/db, and the experimental methods are as follows:

Copy the files from the/var/lib/eucalyptus/db and replace them in the *.script file

CREATE USER SA PASSWORD "83jfi86fsdkj3987jf99374hhf7kj38f83lf8elj8f4lj ..." The string after the password is "", that is, the password is cleared. Because the Eucalyptus default sa password is too long, if used directly will cause validation to fail, you can clear the password first.

Copy Eucalyptus source Eucalyptus-2.0.2/clc/lib/hsqldb-1.8.0.10.jar file to just copy out of the database file directory.

Enter the following command to run (Java 1.6)

$ JAVA-CP Hsqldb-1.8.0.10.jar Org.hsqldb.util.DatabaseManager

Pop-up connection interface, select Standalone Type,url to fill in the database name, such as Jdbc:hsqldb:file:eucalyptus_auth. After the connection is successful, you can enter the SQL statement execution in the input box.

You can also see the tables and their fields in the database.

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.