Well if no man can serve two masters, Netscape Directory and other
applications that have multiple replication agreements didn't listen.
My next question, since I need to run multiple daemons now to replicate
databases on different MySQL servers, how can I build MySQL without any
compiled set configuration information. I would like to supply all the
necessary configuration data from the command line or in my.cnf.
The two problems as I see it:
(1) The $DATADIR my.cnf (or my.cfg as I have also seen it documented in
the 'safe_mysqld' script) is not looked for in the given command-line
configured $DATADIR. This fact is documented in the manual that my.cnf is
processed before any command line arguments... thus my.cnf is taken from
the compiled DATADIR (instead of the command-line argument as I prefer).
(2) I can specify a seperate access log, but not error log. (mysqld does
not accept --err-log=/path/to/host.err even though mysql.server startup
script has *kind of* documented it). The mysqld seems to not allow the
error log to be located anywhere other than in the compiled-in data
directory (not the $DATADIR given at run-time on the command line).
It appears if I want "completely seperate" multiple mysqld servers on one
host, my only choice is to compile mysqld for each instance I need so I
can have individual my.cnf and error logs for each daemon.
A. Does anyone know of a trick to getting around this? I'd like to
specify everything on the command line and my.cnf and have it actually
work correctly. AND only compiling mysqld once.
B. Is there any plans to accomodate full dynamic reconfiguration via the
comand line and 'my.cnf'?
** RUSS'S MYSQL WISH LIST **
1) Multi-master / multiple replication agreements for a single mysqld
2) Full dynamic command-line mysqld configuration
On Wed, 22 Nov 2000 sasha@stripped wrote:
> Russell E Glaue wrote:
> > Greetings.
> > New to the list.
> > I was wondering if there is currently a way to have one MySQL instance act
> > as a slave for multiple databases.
> > If not, is there any plans to implement a feature to allow a single mySQL
> > instance to slave more than one master.
> Does not it say in the Bible that no man can server two masters? :-) On a
> serious note, we do not plan that in a very near future.
> > Intention to replicate 1 or 2 different databases from different MySQLs.
> Would running two daemons on separate directories work for you?
> MySQL Development Team
> __ ___ ___ ____ __
> / |/ /_ __/ __/ __ \/ / Sasha Pachev <sasha@stripped>
> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/
> /_/ /_/\_, /___/\___\_\___/ Provo, Utah, USA
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail internals-thread146@stripped
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail internals-unsubscribe@stripped instead.