Linux Box上运行哪个SQL服务器?
16lz
2021-01-22
I have a redhat linux server that I am trying to work out what is running on it. I have inherited it and am trying to move it to a different server.
我有一个redhat linux服务器,我正在尝试解决它上面运行的内容。我继承了它,并试图将它移动到另一台服务器。
I know there are several SQL databases running on it but I don't know what SQL package is controlling them.
我知道有几个SQL数据库在运行,但我不知道什么SQL包控制它们。
Is there a way to find out?
有办法找出来吗?
1 个解决方案
#1
1
You can use the Red Hat services
command to get a list of daemons running. One of them should be the database server.
您可以使用Red Hat services命令获取正在运行的守护程序列表。其中一个应该是数据库服务器。
sudo service --status-all
And if that doesn't work (e.g. it's not being run as a service) you can always do
如果这不起作用(例如,它不是作为服务运行),你总是可以这样做
ps -ef|grep 'postgres|mysql|oracle|sql'
更多相关文章
- mysql数据库忘记ROOT密码时的解决办法
- 无法从SQLite数据库获取最后一行
- sql2008中如何收缩数据库日志文件
- 如何利用SQL语句查询数据库中所有表的名称?
- java eclipse连接并且操作mysql数据库详解
- SQL server 2008 (R2) 无日志文附加数据库
- SQLyog Enterprise强制Copy表结构给本身数据库,数据会丢吗,急
- [Python] - No.1 使用python3连接Mysql 数据库
- 装了sql server 2005附加数据库成功,程序却无法访问