可通过以下命令查看mysql是否安装及其安装路径:
ps -ef|grep mysql
如下:
xx@ubuntu:~/work$ ps -ef|grep mysql
root       3867   2981  0 09:23 pts/11   00:00:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/data --pid-file=/usr/local/mysql/data/ubuntu.pid
mysql      3959   3867  0 09:23 pts/11   00:00:57 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/usr/local/mysql/data/ubuntu.err --pid-file=/usr/local/mysql/data/ubuntu.pid
xx         6317   6267  0 13:23 pts/17   00:00:00 grep --color=auto mysql
xx@ubuntu:~/work$ 
 
 
 
  
 
 
OK, Enjoyt it !!!
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐