Skip to main content

Create Database

A database is a place to store data. In the Game Panel, you can create a new database at any time as long as your server is Online. Here are the steps:

BEFORE YOU START

Make sure you have opened the Database GUI menu. If not, read Hosting Database first.

Step 1: Open the Databases Tab

  1. Enter the Database GUI menu.
  2. Click the Databases tab at the top of the page.
  3. Here you will see a list of existing databases, plus two boxes: Create Database and Drop Database.

Databases Tab

Step 2: Enter the Database Name

  1. In the Create Database box, fill in the Database Name field.
  2. A database name may only contain letters, numbers, and underscores (_). Spaces and other symbols are not allowed.
    • Examples: db_toko, server1, data_survival.
tip

Choose a name that is short but easy for you to remember, because this name will be used later when connecting an application to the database.

Step 3: Create the Database

  1. Click the Create Database button.
  2. The panel will send the database creation command to the server. If successful, a green success notification will appear.
  3. The new database will appear in the list at the top.

Database Successfully Created

note

The database list may still show old data (cached for a few minutes). Click the Refresh Direct From Server button to load the most recent list directly from the server.

BE CAREFUL WHEN DROPPING A DATABASE

Do not use the Drop button carelessly. Deleting a database will permanently delete all tables and data inside it and cannot be undone.


Next Steps

A database alone is not enough to use — you still need a user and its access rights: