简体   繁体   中英

Which SQL server is running on a Linux Box?

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.

I know there are several SQL databases running on it but I don't know what SQL package is controlling them.

Is there a way to find out?

You can use the Red Hat services command to get a list of daemons running. One of them should be the database server.

sudo service --status-all

And if that doesn't work (eg it's not being run as a service) you can always do

ps -ef|grep 'postgres|mysql|oracle|sql'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM