Skip to main content
Skip to main content

Stop, start and delete MariaDB service

Learn how to stop, start, restart, and delete your MariaDB service in Zerops.

Using Zerops GUI​

Go to the project dashboard and select the appropriate action from the menu in the top right corner:

  • Stop - Stops the service (only disk resources are consumed while stopped)
  • Start - Starts a stopped service
  • Restart - Restarts a running service
  • Delete service - Permanently deletes the service and all associated data
Warning

Deleting a service is permanent and cannot be undone. All data associated with the service will be lost.

Using zCLI​

zCLI is the Zerops command-line tool. To manage your MariaDB service via the command-line:

  1. Install & setup zCLI
  2. Run the appropriate command:
# Stop a service
zcli service stop [service-id-or-name]

# Start a service
zcli service start [service-id-or-name]

# Delete a service
zcli service delete [service-id-or-name]
Info

All zCLI commands are interactive. When you press enter, you will be given a list of your projects and services to choose from.

Available flags​

All service management commands support these flags:

  -h, --help                Help for the command.
-P, --project-id string If you have access to more than one project, you must specify the project ID for which the
command is to be executed.
-S, --service-id string If you have access to more than one service, you must specify the service ID for which the
command is to be executed.

The delete command also supports:

      --confirm             Skip confirmation prompts for destructive operations.