Skip to content

Instantly share code, notes, and snippets.

@popjdh
Forked from nakamuraos/reset-trial-navicat.sh
Created December 7, 2025 09:21
Show Gist options
  • Select an option

  • Save popjdh/8d6378c61399949d972ee82f136737ab to your computer and use it in GitHub Desktop.

Select an option

Save popjdh/8d6378c61399949d972ee82f136737ab to your computer and use it in GitHub Desktop.
Reset trial Navicat 15, Navicat 16, Navicat 17 on Linux
#!/bin/bash
# Author: NakamuraOS
# https://github.com/nakamuraos
# Latest update: 21/03/2022
# Tested on Navicat 15.x, 16.x on Linux
RED="\e[1;31m"
ENDCOLOR="\e[0m"
echo -e "${RED}"
echo -e "===================================="
echo -e "| !!! WARNING !!! |"
echo -e "===================================="
echo -e "| All data can be destroy. |"
echo -e "| Always backup before continue. |"
echo -e "| Note: Virtual Grouping will lost |"
echo -e "===================================="
echo -e "${ENDCOLOR}"
echo "Reset trial & clear all data settings."
read -p "Are you sure? (Y/n) " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo "Cleaning..."
rm -rf ~/.config/dconf/user
rm -rf ~/.config/navicat/Premium
echo "Done."
else
echo "Aborted."
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment