如果命令 which 和whereis 都找不到安装目录,可使用以下办法

ps -ef|grep mysql

得到了进程号 xxxxx

然后 ls -l /proc/xxxxx/cwd

相关文章: