Installation

Installing CUBRID and CUBRID Admin on Windows

posted May 11, 2020

Download CUBRID for Windows

1. Visit:

2. Download the latest Installation package

  • CUBRID-Windows-x64-<version>.msi

3. Double click on the file and run the installer.

License Agreement

1.    Check “I accept

2.    Click “Next”.

  • If you agree to the license terms, continue the installation process by clicking the “Next” button.

1.png

Destination Folder and Demo DatabaseDestination Folder and Demo Database

1.    Check “Create a sample

  • It is recommended to install the sample demodb database, which can be later used to get acquainted with CUBRID. 

2.    Click “Next

  • It is recommended to leave the default installation location as “C:\CUBRID\”. In case of a different location, the path should not contain a space

2.png

Ready to install

Click "Install".

  • Click Install to begin the installation.

3.png

Installing CUBRID

  • Please Wait.
  • The setup wizard is installing CUBRID.

4.png

Installation Completed!

1. Check “Launch CUBRID” 

2. Click “Finish”.

  • The installation process is completed. Click “Finish” to close the window. This will also start the CUBRID Service.

5.png

Manage the CUBRID Service

1. Open the Start Menu Screen and type “cmd” in the search box

2. Click on “Run as administrator

  • This will open a command-line console from where you can execute cubrid commands.

6.png

Starting CUBRID Service

  • The CUBRID Service starts on boot by default.
  • The CUBRID Service supports the following commands:
  1. Start service
    cubrid service start
  2. Stop service
    cubrid service stop
  3. Restart service
    cubrid service restart
  4. View status
    cubrid service status

Manage the CUBRID Service

  • You can also start/stop the CUBRID service from the CUBRID service tray. If the tray is not running, you can start it from the Start Menu.
  • You will see the CUBRID logo in the right lower part of the screen. Right click on it and choose “Service Stop” or “Service Start” according to the current status of the CUBRID service.

7.png

Install Java 1.6 or Above

  • Before you install CUBRID Admin, you must install Java JDK or JRE version 1.6 or above. You can download java from:

https://www.oracle.com/java/technologies/javase-downloads.html

  • After you install the JDK or JRE, you must set the JAVA_HOME environment variable. A tutorial on how to do this is found here:

https://www.cubrid.org/manual/en/10.2/env.html#os-environment-and-java-environment-variables

 

CUBRID Admin for Windows

1. Visit

2. Download the latest Installation package

  • CUBRIDAdmin-<version>-windows-i386.exe
  • CUBRIDAdmin-<version>-windows-x64.exe

3. Double click on the file and run the installer.

General Information

  • Click “Next” 

8.png

License Agreement

1.    Select “I agree

  • If you agree to the license terms, continue the installation process by clicking the “I Agree” button.

9.png

Additional Components

  • Click “NEXT”.
  • Select the necessary options based on your preferences.

10.png

Destination Directory

  • Click “NEXT”.
  • It is recommended to leave the default installation location as “C:\CUBRID\\cubridadmin”.
  • In case of a different location, the path should not contain a space.

11.png

Setup Status…

Please Wait.

The setup wizard is installing CUBRID. You will only have to click 'Next' after the installation completed.

12.png

Installation Completed!

The installation has been completed. Click “Finish” to close the window.

13.png

CUBRID Admin – Choose Workspace

When you open CUBRID Admin, you will be asked to select a workspace. This is the location where CUBRID Admin will store its runtime files.

It is recommended to leave the default and click ok. Check the option given if you don’t want to be asked this question every time.

14.png

CUBRID Admin – Add Host

Enter values for host name, Address, port, user name and password. The default user and password are “admin”.

You will be asked to change the default password after connecting to the host.

You can also enter a remote IP Address in the address field.

Click “Add” to add the new host.

15.png

CUBRID Admin – Connect Host

Right-click on the host name in the left tab and select the option “Connect Host”.

16.png

Click on “Connect”.

17.png

CUBRID Admin – Change Password

After the first connection, you will be asked to set a new password for the admin user.

18.png

CUBRID Admin – Reconnect

You will have to reconnect after changing the password. Select “Yes” if you want this done automatically.

19.png

CUBRID Admin – Connect to Database

Right-click on the database name and choose “Login Database

20.png

Enter the database password and click “OK”.

The demodb database has no password, so leave the password filed blank.

21.png

CUBRID Admin _ Create Database

If you wish to create another database, right-click on “Databases” and Choose “Create Database”.

The default user name for the database is the current user (usually dba).

22.png

Enter the database name and click the next button, Optionally, you can modify the database default size for volumes and log entries.

Important! The database name must not contain spaces.

23.png

Click “Next”.

Optionally, you can edit the size or location for additional volumes.

24.png

Click “Next”.

Optionally, you can edit the values for automatic volume extension.

25.png

Set the password for the database and click “Next

26.png

View the details of the database that will be created and click “Finish”.

27.png

Wait for database to be created.

28.png

The database has been created and you can now connect to it.

29.png

Right-click on the database created and choose the “Login Database”.

30.png