MySQL Forums
Forum List  »  Install & Repo

Multiple instances connection wierdness
Posted by: Dave S
Date: September 28, 2004 03:42AM

Hi,
I'm running two instances of mysqld on a linux based system, specifying different conf files (containing different datadirs, ports and sockets) at startup i.e.
safe_mysqld --defaults-file=/[mysqldir]/[myother].cnf &
All is well, apart from when connecting to the second instance of mysql (running on say, port 3311) I have to specify 127.0.0.1 and port 3311 when connecting from localhost. This isn't a biggie, I'm just puzzled as to why the connection fails when connecting to localhost (or not specifying the host at all) and just specifying the other port - any ideas why this is?

Cheers,

--
Dave S
www.woodsta.com

Options: ReplyQuote


Subject
Written By
Posted
Multiple instances connection wierdness
September 28, 2004 03:42AM


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.