Skip to content

Enhanced Configuration

This section will cover enhanced configuration of the server, which were previously not possible with the admin panel.

Update your own privileges (Using direct database change)

Section titled “Update your own privileges (Using direct database change)”

Before we can access the admin panel, we need to update our own privileges. This is currently done by updating server’s database directly.

For the sake of simplicity, we will use the DBeaver database management tool, but you can use any other tool that supports MySQL databases.

  1. Open DBeaver.

  2. Connect to your database following the instructions below

    • Host: localhost
    • Port: 3306 (use 3308 for development builds)
    • Database: sunrise
    • Username: root
    • Password: root
  3. Open the Database/sunrise/user table.

  4. Find your user in the list, and double-click on it’s Privilege value.

  5. Update it to the new value depending on the privileges you want to have. For example, to have admin privileges, set it to 8.

  6. Click on the Apply cell changes button (or press Ctrl + S).

  7. Changes will be applied during a minute or so, and you will be able to access the admin panel.