Re: additional Unix sockets
Posted by: Umesh Shastry
Date: May 16, 2005 12:15AM

Hi!!

Yes you can use..and you need to specify this in the options file (my.cnf/my.ini)..thgis would be required when you have to run multiple servers on the same machine.. your options file should be something like this..

[mysqld2]
socket = /tmp/mysql.sock2
port = 3307
pid-file = /usr/local/mysql/var2/hostname.pid2
datadir = /usr/local/mysql/var2
language = /usr/local/share/mysql/english
user = umesh

[mysqld3]
socket = /tmp/mysql.sock3
port = 3308
pid-file = /usr/local/mysql/var3/hostname.pid3
datadir = /usr/local/mysql/var3
language = /usr/local/share/mysql/swedish
user = shastry


Check out the manual for more details on how to do this..

Regards,
Umesh Shastry
http://www.blogger.com/profile/02551756983528645221

Options: ReplyQuote


Subject
Written By
Posted
April 20, 2005 11:52PM
Re: additional Unix sockets
May 16, 2005 12:15AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.