If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MySQL Multiple Instance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-26-09, 01:57
micky126 micky126 is offline
Registered User
 
Join Date: Aug 2009
Posts: 8
Question MySQL Multiple Instance

Hi,

I would like to create multiple MySQL Instance in one server box using one version only or without installing other version. Is it possible?How

Thanks...
Reply With Quote
  #2 (permalink)  
Old 08-26-09, 07:39
BettingSherlock BettingSherlock is offline
Registered User
 
Join Date: May 2007
Posts: 78
Reply With Quote
  #3 (permalink)  
Old 08-26-09, 07:52
micky126 micky126 is offline
Registered User
 
Join Date: Aug 2009
Posts: 8
Thanks for the reply, the article is all about managing the multiple mysql servers..It makes sense but what I wanna know is how to create new mysql instance? I have MysQL 5.0 installed in my machine and I want to create new instance/server.
Reply With Quote
  #4 (permalink)  
Old 08-26-09, 08:44
BettingSherlock BettingSherlock is offline
Registered User
 
Join Date: May 2007
Posts: 78
What do you mean with new instance ?
What's the difference between a mysql server and a mysql instance ?
Reply With Quote
  #5 (permalink)  
Old 08-26-09, 08:54
micky126 micky126 is offline
Registered User
 
Join Date: Aug 2009
Posts: 8
I have an existing MySQL Server then I like to create new MySQL server connecting to a new port number and have diffrent MySQL Service name. How can I do it using my Existing MySQL version. Is that possible? Do I really have to install MySQL version to create a new MySQL server/instance?

Thank tou..
Reply With Quote
  #6 (permalink)  
Old 08-26-09, 09:32
BettingSherlock BettingSherlock is offline
Registered User
 
Join Date: May 2007
Posts: 78
No, please read that documentation again as it is exactly what that does.

You install MySQL once then from that you run multiple server instances each one using it's own port and data location. As far as the external world and users are concerned each one will appear as an entirely unique mysql server instance.


I suppose you could install MySQL a second time under a different installation directory. However i have no idea if you'll be able to run the second installation as a unique process next to the first one. I suspect it's a path where you're asking for trouble. At least with mysqld_multi you are using something that is documentated and should work.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On