MySQL 4.x and MySQL 5 both on same server

They have: 4 posts

Joined: Oct 2005

Hi there,

We are developing web based applications for our clients. We have needed to upgrade the server so that we can run MySQL 4.x and MySQL 5 both on same server.

We need direction so that we can run MySQL 4.x and MySQL5 together on same server, so some sites would be work in MySQL 4.x and some of them will work in MySQL 5

Expecting support to achieve this.

Thanks !!

Busy's picture

He has: 6,151 posts

Joined: May 2001

I don't think it can be done, I tried doing that on my local server so could compare, you need to edit the php.ini file to point to either one, and only way to switch was to edit the php.ini file each time

He has: 14 posts

Joined: Apr 2006

I think it should be possible to do this as long as you install them different locations on the HD and change the port number of one from the default 3306 to some else otherwise you will get a conflict. Apart from that I think it should be fine.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.