-
Star
(166)
You must be signed in to star a gist -
Fork
(74)
You must be signed in to fork a gist
-
-
Save nakamuraos/717eb99b5e145ed11cd754ad3714b302 to your computer and use it in GitHub Desktop.
Is there a win version available
Funciona, muchas gracias
Is there no chance of data or databases being deleted?
Is there no chance of data or databases being deleted?
Short answer: No, absolute.
Navicat is a database management tool, and it doesn't store your data. The connections in Navicat are just login information and configurations to access databases on remote servers.
This script only modifies Navicat's trial data (such as registry entries or configuration files), it won't affect your actual database data. However, it's still a good idea to backup your navicat data in case you have multiple important connection configurations, and newer versions of Navicat have changes in how connection configurations are stored.
You save my life, thank you so much.
It works but it doesn't in 17.3.2. I am using Ubuntu 22.04.
It works but it doesn't in 17.3.2. I am using Ubuntu 22.04.
@i-oc Can you show me a screenshot after running this script?
(base) michale@michale-PC:~/tools$ ./reset-trial-navicat.sh
┌──────────────────────────────────────┐
│ !!! WARNING !!! │
├──────────────────────────────────────┤
│ ALL DATA can be destroyed. │
│ Always BACKUP before continuing. │
└──────────────────────────────────────┘
Report issues:
https://gist.github.com/nakamuraos/717eb99b5e145ed11cd754ad3714b302
Reset trial Navicat Premium:
Are you sure? (y/N) y
Starting reset...
=> Creating a backup...
The user dconf backup was created at /home/michale/.config/dconf/user.20250923_094844.bk
cp: 对 '/home/michale/.config/navicat/Premium/preferences.json' 调用 stat 失败: 没有那个文件或目录
The Navicat preferences backup was created at /home/michale/.config/navicat/Premium/preferences.json.20250923_094844.bk
=> Resetting...
./reset-trial-navicat.sh: 行 43: dconf: 未找到命令
The user dconf data was reset
sed:无法读取 /home/michale/.config/navicat/Premium/preferences.json:没有那个文件或目录
The Navicat preferences was reset
Done.
./reset-trial-navicat.sh: 行 43: dconf: 未找到命令
@MIchale-GPT It seems that dconf is not installed on your system. You can install it using the command:
sudo apt install dconf-cliIt works but it doesn't in 17.3.2. I am using Ubuntu 22.04.
@i-oc Can you show me a screenshot after running this script?
I try delete '~/.config/navicat/Premium/' but doesnt't.
I used the lite version before using it, could it be related to this?
It works but it doesn't in 17.3.2. I am using Ubuntu 22.04.
@i-oc Can you show me a screenshot after running this script?
![]()
@i-oc I've run this script on Navicat 17.3.2 and Ubuntu 22.04, and it still works. Did you completely exit Navicat before running this script? Can you check that the output of ps aux | grep navicat does not include any Navicat process?
It works but it doesn't in 17.3.2. I am using Ubuntu 22.04.
@i-oc Can you show me a screenshot after running this script?
![]()
@i-oc I've run this script on Navicat 17.3.2 and Ubuntu 22.04, and it still works. Did you completely exit Navicat before running this script? Can you check that the output of
ps aux | grep navicatdoes not include any Navicat process?
I’m not sure why it isn’t working on your computer. How did you install and run Navicat?
Sorry,I think I found the reason.Since the lite version has not been deleted and is in the same directory, you can reset it by deleting and reinstalling it.
is there any way to "hide" the trial reminder?



find preferences.json preferences.json.lock
remove them
start navicat