If this document does not correspond to your current software version, you can go to Download Center to find other available document versions.

QNAP

QuTS hero h5.2.x

Download (PDF)

Creating a MariaDB database

Warning:

Creating a new MariaDB database will overwrite an existing MariaDB database.

  1. Log on to QuTS hero as administrator.
  2. Go to Control Panel > Applications > MariaDB.

    The MariaDB Setup Wizard window opens.

    Note:

    The MariaDB setup wizard only appears during app initialization. To configure more advanced database features and settings, use the php.ini maintenance file.

  3. Click Start.

    The Database Actions screen appears.

  4. Select Create a new database.
  5. Click Next.

    The Default Instance Properties screen appears.

  6. Specify a root password.
    Important:
    • The password must contain 8 to 64 bytes of UTF-8 characters.

    • The password cannot be "admin" or blank.

    • If the system detects a weak password, the MariaDB server will be automatically disabled until a stronger password is configured.

  7. Confirm the password.
  8. Optional: Enable TCP/IP networking.
    1. Select Enable TCP/IP networking.
    2. Specify the port number.
      Tip:
      • MariaDB 5: The default port number is 3306.

      • MariaDB 10: The default port number is 3307.

  9. Click Apply.

    QuTS hero creates the MariaDB database. The Finish screen appears.

    Note:

    It may take a few minutes for the system to set up the database.

  10. Click Finish.

    QuTS hero enables the MariaDB server.