Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it safe to install SQL Server 2008 R2 and MySQL side-by-side on Windows Server 2003 Enterprise Edition?

Are there any drawbacks to such a configuration?

like image 426
Giffyguy Avatar asked Dec 21 '10 21:12

Giffyguy


People also ask

Can I have MySQL and SQL server on the same machine?

Answer: Yes, SQL Server and MySQL can coexist as they are totally separate entities. Both are irrelevant to each other and communicate on different ports. The default port for MySQL is 3306 and the default ports for SQL Server are 1433 & 1434. Thus, there would be no issues for running both of them on the same machine.

Should I use MySQL or Microsoft SQL Server?

Both platforms support Windows and Linux, although there are certain “home court advantages” to each one. Using SQL Server makes a little more sense if you're already a Windows and . NET shop. On the other hand, if you use Linux and Python/Java/PHP, MySQL is probably the better choice here.

Can you have two versions of SQL Server installed?

You can install multiple instances of SQL Server, or install SQL Server on a computer where earlier SQL Server versions are already installed. The following SQL Server-related items are compatible with the installation of multiple instances on the same computer: Database Engine.

Is SQL Server 2008 R2 compatible with Windows Server 2019?

SQL Server 2019 allows you to directly upgrade from SQL Server 2008/R2 and keep the database compatibility to the earlier version.


2 Answers

These two databases are totally separate entities and you should have no problems running both of them on the same machine.

Short story: I wanted to test Hibernate with various database dialects, so I ended up installing these databases on one machine:

  • MS SQL server
  • MySQL
  • PostgreSQL
  • Oracle
  • DB2

and I had no problems with all of them running at once. Yes, it was a test server and the poor thing was totally running out of memory, but everything did work.

Only imaginable problem you could run into: configuring the same port for multiple databases. But you wouldn't do that, so it's not a problem.

like image 75
darioo Avatar answered Nov 05 '22 11:11

darioo


Aside from the resources they would both consume (memory, disk, cpu); barring any purposeful conflicting configuration (by default they will listen on different ports), it would work fine.

like image 31
Andrew Barber Avatar answered Nov 05 '22 11:11

Andrew Barber