• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Couldn't find mysqladmin/mariadb-admin in your $PATH. Is MySQL installed?

quattro123

Basic Pleskian
Server operating system version
Debian 11
Plesk version and microupdate number
18.0.43
Hi, suddenly when running mysqltuner I am getting this error message "Couldn't find mysqladmin/mariadb-admin in your $PATH. Is MySQL installed?".
Any idea what to do there or what could be wrong? It seems like to me this error came out of nowhere.


>> MySQLTuner 1.9.8
* Jean-Marie Renouard <[email protected]>
* Major Hayden <[email protected]>
>> Bug reports, feature requests, and downloads at http://mysqltuner.pl/
>> Run with '--help' for additional options and output filtering

[--] Skipped version check for MySQLTuner script
[!!] Couldn't find mysqladmin/mariadb-admin in your $PATH. Is MySQL installed?
 
Unfortunately not.

When I try to run "find / -name mysqladmin -type f" from the website, I am getting this output, and the rest of the website is not giving any clue/hint regarding this issue.


root@server:~# find / -name mysqladmin -type f
find: '/proc/1/map_files': Operation not permitted
find: '/proc/2/map_files': Operation not permitted
find: '/proc/3/map_files': Operation not permitted
find: '/proc/71/map_files': Operation not permitted
find: '/proc/89/map_files': Operation not permitted
find: '/proc/104/map_files': Operation not permitted
find: '/proc/105/map_files': Operation not permitted
find: '/proc/108/map_files': Operation not permitted
find: '/proc/117/map_files': Operation not permitted
find: '/proc/130/map_files': Operation not permitted
find: '/proc/136/map_files': Operation not permitted
find: '/proc/148/map_files': Operation not permitted
find: '/proc/172/map_files': Operation not permitted
find: '/proc/215/map_files': Operation not permitted
find: '/proc/217/map_files': Operation not permitted
find: '/proc/251/map_files': Operation not permitted
find: '/proc/252/map_files': Operation not permitted
find: '/proc/279/map_files': Operation not permitted
find: '/proc/284/map_files': Operation not permitted
find: '/proc/295/map_files': Operation not permitted
find: '/proc/302/map_files': Operation not permitted
find: '/proc/304/map_files': Operation not permitted
find: '/proc/310/map_files': Operation not permitted
find: '/proc/312/map_files': Operation not permitted
find: '/proc/411/map_files': Operation not permitted
find: '/proc/413/map_files': Operation not permitted
find: '/proc/447/map_files': Operation not permitted
find: '/proc/448/map_files': Operation not permitted
find: '/proc/463/map_files': Operation not permitted
find: '/proc/483/map_files': Operation not permitted
find: '/proc/484/map_files': Operation not permitted
find: '/proc/490/map_files': Operation not permitted
find: '/proc/492/map_files': Operation not permitted
find: '/proc/493/map_files': Operation not permitted
find: '/proc/494/map_files': Operation not permitted
find: '/proc/495/map_files': Operation not permitted
find: '/proc/527/map_files': Operation not permitted
find: '/proc/548/map_files': Operation not permitted
find: '/proc/555/map_files': Operation not permitted
find: '/proc/567/map_files': Operation not permitted
find: '/proc/575/map_files': Operation not permitted
find: '/proc/581/map_files': Operation not permitted
find: '/proc/585/map_files': Operation not permitted
find: '/proc/612/map_files': Operation not permitted
find: '/proc/656/map_files': Operation not permitted
find: '/proc/1004/map_files': Operation not permitted
find: '/proc/1006/map_files': Operation not permitted
find: '/proc/1235/map_files': Operation not permitted
find: '/proc/1243/map_files': Operation not permitted
find: '/proc/1260/map_files': Operation not permitted
find: '/proc/1261/map_files': Operation not permitted
find: '/proc/1262/map_files': Operation not permitted
find: '/proc/1263/map_files': Operation not permitted
find: '/proc/1296/map_files': Operation not permitted
find: '/proc/1297/map_files': Operation not permitted
find: '/proc/1298/map_files': Operation not permitted
find: '/proc/1759/map_files': Operation not permitted
find: '/proc/1837/map_files': Operation not permitted
find: '/proc/1945/map_files': Operation not permitted
find: '/proc/1946/map_files': Operation not permitted
find: '/proc/2169/map_files': Operation not permitted
find: '/proc/2173/map_files': Operation not permitted
find: '/proc/2281/map_files': Operation not permitted
find: '/proc/2291/map_files': Operation not permitted
find: '/proc/3189/map_files': Operation not permitted
find: '/proc/3196/map_files': Operation not permitted
find: '/proc/3216/map_files': Operation not permitted
find: '/proc/3217/map_files': Operation not permitted
find: '/proc/3467/map_files': Operation not permitted
find: '/proc/3475/map_files': Operation not permitted
find: '/proc/3477/map_files': Operation not permitted
find: '/proc/3478/map_files': Operation not permitted
find: '/proc/31853/map_files': Operation not permitted
find: '/proc/31854/map_files': Operation not permitted
find: '/proc/38357/map_files': Operation not permitted
find: '/proc/38360/map_files': Operation not permitted
find: '/proc/38361/map_files': Operation not permitted
find: '/proc/38363/map_files': Operation not permitted
find: '/proc/41783/map_files': Operation not permitted
find: '/proc/41788/map_files': Operation not permitted
find: '/proc/41789/map_files': Operation not permitted
find: '/proc/42262/map_files': Operation not permitted
find: '/proc/42264/map_files': Operation not permitted
find: '/proc/42265/map_files': Operation not permitted
find: '/proc/42267/map_files': Operation not permitted
find: '/proc/42296/map_files': Operation not permitted
find: '/proc/48973/map_files': Operation not permitted
find: '/proc/49010/map_files': Operation not permitted
find: '/proc/49011/map_files': Operation not permitted
find: '/proc/49012/map_files': Operation not permitted
find: '/proc/53285/map_files': Operation not permitted
find: '/proc/53286/map_files': Operation not permitted
find: '/proc/53354/map_files': Operation not permitted
find: '/proc/53401/map_files': Operation not permitted
find: '/proc/53402/map_files': Operation not permitted
find: '/proc/53403/map_files': Operation not permitted
find: '/proc/53404/map_files': Operation not permitted
find: '/proc/53405/map_files': Operation not permitted
find: '/proc/53406/map_files': Operation not permitted
find: '/proc/53433/map_files': Operation not permitted
find: '/proc/53434/map_files': Operation not permitted
find: '/proc/53435/map_files': Operation not permitted
find: '/proc/53484/map_files': Operation not permitted
find: '/proc/53485/map_files': Operation not permitted
find: '/proc/53486/map_files': Operation not permitted
find: '/proc/53487/map_files': Operation not permitted
find: '/proc/53488/map_files': Operation not permitted
find: '/proc/53489/map_files': Operation not permitted
find: '/proc/53490/map_files': Operation not permitted
find: '/proc/53520/map_files': Operation not permitted
find: '/proc/53521/map_files': Operation not permitted
find: '/proc/53524/map_files': Operation not permitted
/usr/share/bash-completion/completions/mysqladmin
 
We're running CentOS 7.9, so it might not be the same, but this is what it looks like on our servers:

Code:
# ls -l /bin/mysqladmin
lrwxrwxrwx 1 root root 13 May 21 07:11 /bin/mysqladmin -> mariadb-admin

mariadb-admin is part of MariaDB-client:
Code:
MariaDB-client-10.5.13-1.el7.centos.x86_64 : MariaDB: a very fast and robust SQL database server
Repo        : mariadb
Matched from:
Filename    : /usr/bin/mariadb-admin
 
Code:
root@server:~# ls -l /bin/mysqladmin
ls: cannot access '/bin/mysqladmin': No such file or directory

That is my output
 
Back
Top