Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run MySQL and PostgreSQL on same server

For our customer the application which is running is using MySQL database. However, this server is without monitoring. I want to install OpenNMS (which uses PostgreSQL) application to monitor the solution and send the traps to main NMS system.

Is there any problem having both on the same server?

like image 521
user1977050 Avatar asked Feb 28 '13 09:02

user1977050


People also ask

Can you run mysql and postgresql on the same server?

1 Answer. Can postgresql and mysql run together in the same machine ? yes.


1 Answers

No, there is no technical problem. Both default to different ports they listen on.

The only problem that could arise is that each individual DB might be slower compared to an installation on separate phyiscal machines because they are both share (and fight for) for the same resources (I/O, memory, CPU, network, ...)

like image 131
a_horse_with_no_name Avatar answered Sep 20 '22 15:09

a_horse_with_no_name