dbcli / mycli

A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.
http://mycli.net
Other
11.49k stars 663 forks source link

Permission problem to mysql config file #1030

Closed guest73 closed 2 years ago

guest73 commented 2 years ago

I installed 1.24.1 via snap, now in the logs I get the following warning

(20746/MainThread) mycli.config WARNING - You don't have permission to read config file '/etc/mysql/my.cnf'.

The permission of the file is 644? Whay can't the program read it?

guest73 commented 2 years ago

Also I tried to setup a pager but it says /bin/sh: 1: pspg: not found. I know it exists as I installed it. It just that snap isolates the environment, thus cannot find it. Man! putting anything on snap really sucks, that's why people hate it.

guest73 commented 2 years ago

Never mind, I removed this snap nonsense and reinstalled using pip!