Hey!
I'm trying to execute a very simple command from MySQL Workbench in Linux Mint. Connection to the server seems OK and the server is running. However, when I try to run a code I get:
"mysql command line client not found. Please fix its path in Preferences -> Administration"
But when I try to select the path /usr/bin/mysql from Administration I cannot even access the /usr path, I get 'permission denied'.
I tried playing around with apparmor, stopping the service to see if that was the case, but no results so far.
I already posted in stack overflow, but I'm wondering if this is more of a Linux Mint issue....
Thanks!
MYSQL Workbench cannot find command line client
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
MYSQL Workbench cannot find command line client
Last edited by LockBot on Fri Jun 02, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: MYSQL Workbench cannot find command line client
Howdy.
How did you install MySQL?
If you do a search for that error message you get a ton of hits, including this one:
https://askubuntu.com/questions/369910/ ... -not-found
How did you install MySQL?
If you do a search for that error message you get a ton of hits, including this one:
https://askubuntu.com/questions/369910/ ... -not-found
Re: MYSQL Workbench cannot find command line client
The workbench I did a snap. Server and client are installed through apt-get install Googled quite a bit before posting, but still cannot find anything relevant...
I can access the client easily through the command line, but I cannot point the Workbench application to that directory (or at least what I think it's the directory, /usr/bin/mysql) because every time I click on /usr it says permission denied...
Re: MYSQL Workbench cannot find command line client
UPDATE:
I tried opening from the command line using the command: sudo mysql-workbench-community and I get the following output:
mkdir: cannot create directory '/run/user/0': Permission denied Warning: Schema “org.gnome.system.locale” has path “/system/locale/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Using /snap/mysql-workbench-community/10/usr/lib/x86_64-linux-gnu/libproj.so. No protocol specified
I tried opening from the command line using the command: sudo mysql-workbench-community and I get the following output:
mkdir: cannot create directory '/run/user/0': Permission denied Warning: Schema “org.gnome.system.locale” has path “/system/locale/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Using /snap/mysql-workbench-community/10/usr/lib/x86_64-linux-gnu/libproj.so. No protocol specified